summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/sharedmount.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-04-20 13:32:09 +0200
committerRobin Appelman <icewind@owncloud.com>2015-04-27 14:07:16 +0200
commitf488624e5ff3a8f580029e98373071d6fe91e2eb (patch)
treec36edb6a9e976da6383440929f4bb80a4e91f17c /apps/files_sharing/lib/sharedmount.php
parent526ea3fcba56502b9a3a5204221a0aa7e4fa538a (diff)
downloadnextcloud-server-f488624e5ff3a8f580029e98373071d6fe91e2eb.tar.gz
nextcloud-server-f488624e5ff3a8f580029e98373071d6fe91e2eb.zip
minor fixes
Diffstat (limited to 'apps/files_sharing/lib/sharedmount.php')
-rw-r--r--apps/files_sharing/lib/sharedmount.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedmount.php b/apps/files_sharing/lib/sharedmount.php
index 8c473e1f1c2..15aea0aa52a 100644
--- a/apps/files_sharing/lib/sharedmount.php
+++ b/apps/files_sharing/lib/sharedmount.php
@@ -184,8 +184,7 @@ class SharedMount extends MountPoint implements MoveableMount {
}
public function getShare() {
- $this->getStorage(); //ensure it exists
- return $this->storage->getShare();
+ return $this->getStorage()->getShare();
}
/**