Merge pull request #3026 from owncloud/cli-no-session
Don't start the session when in cli mode
This commit is contained in:
commit
686f836736
1 changed files with 3 additions and 1 deletions
|
@ -478,7 +478,9 @@ class OC {
|
|||
self::checkConfig();
|
||||
self::checkInstalled();
|
||||
self::checkSSL();
|
||||
self::initSession();
|
||||
if ( !self::$CLI ) {
|
||||
self::initSession();
|
||||
}
|
||||
|
||||
$errors = OC_Util::checkServer();
|
||||
if (count($errors) > 0) {
|
||||
|
|
Loading…
Reference in a new issue