This commit is contained in:
Patrick Niebeling
2025-03-12 10:46:58 +01:00
parent 05f50ea068
commit 054cdb70c8
10 changed files with 151 additions and 167 deletions

View File

@ -1,19 +0,0 @@
<?php
namespace OCA\DeckFlow\AppInfo;
use OCP\AppFramework\App;
use OCP\BackgroundJob\IJobList;
use OCA\DeckFlow\BackgroundJobs\CheckOverdueCards;
class Application extends App {
public function __construct(array $urlParams = []) {
parent::__construct('deckflow', $urlParams);
}
public function register() {
$container = $this->getContainer();
$jobList = $container->query(IJobList::class);
$jobList->add(CheckOverdueCards::class);
}
}