aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/share.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-04-26 00:01:36 +0200
committerRobin Appelman <icewind@owncloud.com>2013-04-26 00:01:36 +0200
commit809b5f81f6ee448563462ae8f642fbb8a6a11499 (patch)
tree88f31a78a59d073b3731e00c26bb6ae05be032a5 /lib/public/share.php
parentbcd9a6903317a786f5f947374a8680130e4a8297 (diff)
downloadnextcloud-server-809b5f81f6ee448563462ae8f642fbb8a6a11499.tar.gz
nextcloud-server-809b5f81f6ee448563462ae8f642fbb8a6a11499.zip
Further seperation of mount management logic
Diffstat (limited to 'lib/public/share.php')
-rw-r--r--lib/public/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index 4b337530be8..525fe7e8533 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -875,7 +875,7 @@ class Share {
$row['path'] = '/Shared/'.basename($row['path']);
} else {
if (!isset($mounts[$row['storage']])) {
- $mounts[$row['storage']] = \OC\Files\Mount::findByNumericId($row['storage']);
+ $mounts[$row['storage']] = \OC\Files\Filesystem::getMountByNumericId($row['storage']);
}
if ($mounts[$row['storage']]) {
$path = $mounts[$row['storage']]->getMountPoint().$row['path'];