summaryrefslogtreecommitdiffstats
path: root/lib/files/view.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-03-07 11:12:59 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-03-07 11:12:59 -0500
commita5cab28bea6188ce840d7d115064c4780531e13d (patch)
tree6dd8b77c35c6a2082616d9427f573441ab63e5e4 /lib/files/view.php
parente5a497c9248fcab82b84befbc3842affccc71f9d (diff)
downloadnextcloud-server-a5cab28bea6188ce840d7d115064c4780531e13d.tar.gz
nextcloud-server-a5cab28bea6188ce840d7d115064c4780531e13d.zip
Fix fetching source path of shared files
Diffstat (limited to 'lib/files/view.php')
-rw-r--r--lib/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/view.php b/lib/files/view.php
index 3e2cb080e1d..4ed3234552e 100644
--- a/lib/files/view.php
+++ b/lib/files/view.php
@@ -960,7 +960,7 @@ class View {
*/
public function getPath($id) {
list($storage, $internalPath) = Cache\Cache::getById($id);
- $mounts = Mount::findById($storage);
+ $mounts = Mount::findByStorageId($storage);
foreach ($mounts as $mount) {
/**
* @var \OC\Files\Mount $mount