Update cron.php

This commit is contained in:
Oliver Kohl D.Sc. 2014-07-24 13:54:55 +02:00
parent 97e61f438f
commit 2ff369e7f3
1 changed files with 1 additions and 2 deletions

View File

@ -122,8 +122,7 @@ try {
// Work and success :-)
$jobList = \OC::$server->getJobList();
$job = $jobList->getNext();
if ($job != null)
{
if ($job != null) {
$job->execute($jobList, $logger);
$jobList->setLastJob($job);
}