diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-17 12:08:31 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-20 14:44:44 +0200 |
commit | d9907b6fa3c1523ee19bc6c3d888a0d71521819e (patch) | |
tree | 10554e49576d0dac186bc558842545b90e7a9388 /cron.php | |
parent | 6af0e76a03b59e82a30e80ea726b274e431a9b61 (diff) | |
download | nextcloud-server-d9907b6fa3c1523ee19bc6c3d888a0d71521819e.tar.gz nextcloud-server-d9907b6fa3c1523ee19bc6c3d888a0d71521819e.zip |
move some deprecated usage of OC_Config and OC_AppConfig to \OC::server
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -132,9 +132,9 @@ try { // done! TemporaryCronClass::$sent = true; - // Log the successfull cron exec - if (OC_Config::getValue('cron_log', true)) { - OC_Appconfig::setValue('core', 'lastcron', time()); + // Log the successful cron execution + if (\OC::$server->getConfig()->getSystemValue('cron_log', true)) { + \OC::$server->getAppConfig()->setValue('core', 'lastcron', time()); } exit(); |