aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/config/usermountcache.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-04-15 09:02:01 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-19 14:04:00 +0200
commitafa37d363fe1bedfe85a4dbd53adb091f3b014b2 (patch)
tree7724697e16c71aa4c8ac67d1c09d6520459a3fcd /lib/private/files/config/usermountcache.php
parent6123badbfa22b79167c4b41f84a38b372f033a2e (diff)
downloadnextcloud-server-afa37d363fe1bedfe85a4dbd53adb091f3b014b2.tar.gz
nextcloud-server-afa37d363fe1bedfe85a4dbd53adb091f3b014b2.zip
Fix related logic
Diffstat (limited to 'lib/private/files/config/usermountcache.php')
-rw-r--r--lib/private/files/config/usermountcache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/config/usermountcache.php b/lib/private/files/config/usermountcache.php
index 78b19972787..68436174025 100644
--- a/lib/private/files/config/usermountcache.php
+++ b/lib/private/files/config/usermountcache.php
@@ -82,7 +82,7 @@ class UserMountCache implements IUserMountCache {
$newMounts = array_map(function (IMountPoint $mount) use ($user) {
$storage = $mount->getStorage();
if ($storage->instanceOfStorage('\OC\Files\Storage\Shared')) {
- $rootId = (int)$storage->getShare()['file_source'];
+ $rootId = (int)$storage->getShare()->getNodeId();
} else {
$rootId = (int)$storage->getCache()->getId('');
}