diff options
Diffstat (limited to 'apps/files_sharing/lib/sharedmount.php')
-rw-r--r-- | apps/files_sharing/lib/sharedmount.php | 3 |
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(); } /** |