diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-15 09:02:01 +0200 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-19 14:04:00 +0200 |
commit | afa37d363fe1bedfe85a4dbd53adb091f3b014b2 (patch) | |
tree | 7724697e16c71aa4c8ac67d1c09d6520459a3fcd /lib/private/files/config/usermountcache.php | |
parent | 6123badbfa22b79167c4b41f84a38b372f033a2e (diff) | |
download | nextcloud-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.php | 2 |
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(''); } |