diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-07 11:12:59 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-07 11:12:59 -0500 |
commit | a5cab28bea6188ce840d7d115064c4780531e13d (patch) | |
tree | 6dd8b77c35c6a2082616d9427f573441ab63e5e4 /lib/files/view.php | |
parent | e5a497c9248fcab82b84befbc3842affccc71f9d (diff) | |
download | nextcloud-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.php | 2 |
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 |