aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-08-22 15:12:39 +0200
committerRobin Appelman <robin@icewind.nl>2016-08-23 14:52:18 +0200
commita0c2342c20d874a87335a3e1c21bbfa05a71a776 (patch)
treede17cd95db017e85e1a25f4a327beb045569392e /apps/files_sharing/lib
parent1e7c108bff45dfa5081fe6c5ec6115fe8c8d699a (diff)
downloadnextcloud-server-a0c2342c20d874a87335a3e1c21bbfa05a71a776.tar.gz
nextcloud-server-a0c2342c20d874a87335a3e1c21bbfa05a71a776.zip
prevent infinite recursion while getting storage from mount
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/sharedstorage.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index b67c9c5efb4..6dec020982e 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -401,6 +401,10 @@ class Shared extends \OC\Files\Storage\Wrapper\Jail implements ISharedStorage {
// shares do not participate in availability logic
}
+ public function getSourceStorage() {
+ return $this->getWrapperStorage();
+ }
+
public function getWrapperStorage() {
$this->init();
return $this->storage;