aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Cache/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Cache/File.php')
-rw-r--r--lib/private/Cache/File.php2
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());