Merge pull request #9350 from Gomez/master
initialize a dummy memory session - fixes https://github.com/owncloud/ac...
This commit is contained in:
commit
5ec3771506
1 changed files with 3 additions and 0 deletions
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 a new issue