diff options
author | Steffen Lindner <mail@steffen-lindner.de> | 2014-07-02 11:52:45 +0200 |
---|---|---|
committer | Steffen Lindner <mail@steffen-lindner.de> | 2014-07-02 11:52:45 +0200 |
commit | 9433b94fd5734e8db93be6b0e7246b1114a15591 (patch) | |
tree | 2f63053e416e6c1242fb57187c22038ccaada1f8 /cron.php | |
parent | 805a7cf485d8fa9aa4af7c1b279e1084f53cd2af (diff) | |
download | nextcloud-server-9433b94fd5734e8db93be6b0e7246b1114a15591.tar.gz nextcloud-server-9433b94fd5734e8db93be6b0e7246b1114a15591.zip |
initialize a dummy memory session - fixes https://github.com/owncloud/activity/issues/78
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -53,6 +53,9 @@ try { \OC::$session->close(); + // initialize a dummy memory session + \OC::$session = new \OC\Session\Memory(''); + $logger = \OC_Log::$object; // Don't do anything if ownCloud has not been installed |