Skip to content

Commit

Permalink
Call Backgroundjob with parameter, as interface requires
Browse files Browse the repository at this point in the history
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
  • Loading branch information
georgehrke committed Jun 28, 2018
1 parent cba783f commit ab43251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/appinfo/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function(GenericEvent $event) use ($app) {
$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);
Expand Down

0 comments on commit ab43251

Please sign in to comment.