Update cron.php

This commit is contained in:
Oliver Kohl D.Sc. 2014-07-24 13:54:55 +02:00
parent 97e61f438f
commit 2ff369e7f3

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);
}