diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-05-15 09:33:38 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-05-15 09:33:38 -0400 |
commit | d91161186b87965eab165ea536e026dde47df88a (patch) | |
tree | c3fa01dec8bdf1834b6c945ccc5763d5119aab3c | |
parent | de2ccf47233335662b24b687c462196878b8a20c (diff) | |
download | nextcloud-server-d91161186b87965eab165ea536e026dde47df88a.tar.gz nextcloud-server-d91161186b87965eab165ea536e026dde47df88a.zip |
Fix finding mount in background watcher, fixes #3353
-rw-r--r-- | lib/files/cache/backgroundwatcher.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/files/cache/backgroundwatcher.php b/lib/files/cache/backgroundwatcher.php index 7549745e7d7..8933101577d 100644 --- a/lib/files/cache/backgroundwatcher.php +++ b/lib/files/cache/backgroundwatcher.php @@ -30,7 +30,7 @@ class BackgroundWatcher { return; } list($storageId, $internalPath) = $cacheItem; - $mounts = Mount::findByStorageId($storageId); + $mounts = Filesystem::getMountByStorageId($storageId); if (count($mounts) === 0) { //if the storage we need isn't mounted on default, try to find a user that has access to the storage @@ -40,7 +40,7 @@ class BackgroundWatcher { return; } Filesystem::initMountPoints($users[0]); - $mounts = Mount::findByStorageId($storageId); + $mounts = Filesystem::getMountByStorageId($storageId); if (count($mounts) === 0) { return; } |