diff options
author | Sebastian Wessalowski <sebastian@wessalowski.org> | 2017-03-02 16:52:05 +0100 |
---|---|---|
committer | Sebastian Wessalowski <sebastian@wessalowski.org> | 2017-03-02 22:59:39 +0100 |
commit | e399097e3a1abf720d50aaab240f0379aaf76997 (patch) | |
tree | 9ddd96d6b06cf404b2a08bb7e993c5fbdcc86fc2 /lib/base.php | |
parent | 0ef15f93c4792306cfb5eee635d8edce7d944691 (diff) | |
download | nextcloud-server-e399097e3a1abf720d50aaab240f0379aaf76997.tar.gz nextcloud-server-e399097e3a1abf720d50aaab240f0379aaf76997.zip |
Remove deprecated OC_User::isLoggedIn
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index c63efb359cc..a4bb4f584f8 100644 --- a/lib/base.php +++ b/lib/base.php @@ -949,7 +949,7 @@ class OC { if (!self::checkUpgrade(false) && !$systemConfig->getValue('maintenance', false)) { // For logged-in users: Load everything - if(OC_User::isLoggedIn()) { + if(\OC::$server->getUserSession()->isLoggedIn()) { OC_App::loadApps(); } else { // For guests: Load only filesystem and logging @@ -986,7 +986,7 @@ class OC { } // Someone is logged in - if (OC_User::isLoggedIn()) { + if (\OC::$server->getUserSession()->isLoggedIn()) { OC_App::loadApps(); OC_User::setupBackends(); OC_Util::setupFS(); |