Browse Source

Call Backgroundjob with parameter, as interface requires

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
tags/v14.0.0beta1
Georg Ehrke 6 years ago
parent
commit
ab43251a45
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/dav/appinfo/app.php

+ 1
- 1
apps/dav/appinfo/app.php View File

@@ -51,7 +51,7 @@ $eventDispatcher->addListener('OCP\Federation\TrustedServerEvent::remove',
$eventHandler = function() use ($app) {
try {
$job = $app->getContainer()->query(\OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob::class);
$job->run();
$job->run([]);
$app->getContainer()->getServer()->getJobList()->setLastRun($job);
} catch(\Exception $ex) {
$app->getContainer()->getServer()->getLogger()->logException($ex);

Loading…
Cancel
Save