diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ try { // initialize a dummy memory session \OC::$server->setSession(new \OC\Session\Memory('')); - $logger = \OC_Log::$object; + $logger = \OC::$server->getLogger(); // Don't do anything if ownCloud has not been installed if (!OC_Config::getValue('installed', false)) { |