Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-07-03 15:06:40 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-07-03 19:00:16 +0300
commitd3ac73c0c9419750c65d3ccb8f0b0c25edacf34f (patch)
tree6517676c49da188ae4ee832245236fe0e1e25cf3 /cron.php
parent68fd74963eda73fe0e3173cde495c284ea1fd8f4 (diff)
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)) {