diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-05-23 18:27:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 18:27:33 +0200 |
commit | d42515a934a454d1466d14c7fadb4d8dfeae8780 (patch) | |
tree | e15aa57a75045e84c81867367f16a7c26480c7ec | |
parent | e11a523ce9c8920ae1e3bb1509f232af03e69562 (diff) | |
parent | 7860c815235e6c1ae5d665fb7a83848f3fc70636 (diff) | |
download | nextcloud-server-d42515a934a454d1466d14c7fadb4d8dfeae8780.tar.gz nextcloud-server-d42515a934a454d1466d14c7fadb4d8dfeae8780.zip |
Merge pull request #9561 from nextcloud/techdebt/noid/cron.php
Fix code style
-rw-r--r-- | cron.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,7 +135,7 @@ try { } else { // We call cron.php from some website - if ($appMode == 'cron') { + if ($appMode === 'cron') { // Cron is cron :-P OC_JSON::error(array('data' => array('message' => 'Backgroundjobs are using system cron!'))); } else { @@ -151,7 +151,7 @@ try { } // Log the successful cron execution - \OC::$server->getConfig()->setAppValue('core', 'lastcron', time()); + $config->setAppValue('core', 'lastcron', time()); exit(); } catch (Exception $ex) { |