initialize a dummy memory session - fixes https://github.com/owncloud/activity/issues/78

This commit is contained in:
Steffen Lindner 2014-07-02 11:52:45 +02:00
parent 805a7cf485
commit 9433b94fd5
1 changed files with 3 additions and 0 deletions

View File

@ -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