initialize a dummy memory session - fixes https://github.com/owncloud/activity/issues/78
This commit is contained in:
parent
805a7cf485
commit
9433b94fd5
3
cron.php
3
cron.php
|
@ -53,6 +53,9 @@ try {
|
||||||
|
|
||||||
\OC::$session->close();
|
\OC::$session->close();
|
||||||
|
|
||||||
|
// initialize a dummy memory session
|
||||||
|
\OC::$session = new \OC\Session\Memory('');
|
||||||
|
|
||||||
$logger = \OC_Log::$object;
|
$logger = \OC_Log::$object;
|
||||||
|
|
||||||
// Don't do anything if ownCloud has not been installed
|
// Don't do anything if ownCloud has not been installed
|
||||||
|
|
Loading…
Reference in New Issue