First commit
This commit is contained in:
19
appinfo/app.php
Normal file
19
appinfo/app.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user