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/private/Cache | |
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/private/Cache')
-rw-r--r-- | lib/private/Cache/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php index 7d9b3e0680e..513ef10f9d3 100644 --- a/lib/private/Cache/File.php +++ b/lib/private/Cache/File.php @@ -47,7 +47,7 @@ class File implements ICache { if (isset($this->storage)) { return $this->storage; } - if (\OC_User::isLoggedIn()) { + if (\OC::$server->getUserSession()->isLoggedIn()) { $rootView = new View(); $user = \OC::$server->getUserSession()->getUser(); Filesystem::initMountPoints($user->getUID()); |