diff options
Diffstat (limited to 'lib/files/view.php')
-rw-r--r-- | lib/files/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/view.php b/lib/files/view.php index 0da104c107e..f89b7f66ffd 100644 --- a/lib/files/view.php +++ b/lib/files/view.php @@ -977,7 +977,7 @@ class View { */ public function getPath($id) { list($storage, $internalPath) = Cache\Cache::getById($id); - $mounts = Mount::findByStorageId($storage); + $mounts = Filesystem::getMountByStorageId($storage); foreach ($mounts as $mount) { /** * @var \OC\Files\Mount $mount |