diff options
author | Robin Appelman <robin@icewind.nl> | 2016-08-22 15:12:39 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-08-23 14:52:18 +0200 |
commit | a0c2342c20d874a87335a3e1c21bbfa05a71a776 (patch) | |
tree | de17cd95db017e85e1a25f4a327beb045569392e /apps/files_sharing/lib | |
parent | 1e7c108bff45dfa5081fe6c5ec6115fe8c8d699a (diff) | |
download | nextcloud-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.php | 4 |
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; |