summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-07-03 14:06:40 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-07-03 18:00:16 +0200
commitd3ac73c0c9419750c65d3ccb8f0b0c25edacf34f (patch)
tree6517676c49da188ae4ee832245236fe0e1e25cf3 /cron.php
parent68fd74963eda73fe0e3173cde495c284ea1fd8f4 (diff)
downloadnextcloud-server-d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f.tar.gz
nextcloud-server-d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f.zip
Remove OC_Log
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron.php b/cron.php
index 6ace29650ee..987c7dbca7f 100644
--- a/cron.php
+++ b/cron.php
@@ -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)) {