diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-02-24 10:39:04 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-02-29 14:36:20 +0100 |
commit | 11215f4e275f7e7d1aafdb8af440550d27562ad8 (patch) | |
tree | 3d133edb995e6e989d27ad02ef1e518ecb8fea52 /apps/files_sharing/lib | |
parent | a38e8b6436ccfe173b4d368d094753c71bdbd69f (diff) | |
download | nextcloud-server-11215f4e275f7e7d1aafdb8af440550d27562ad8.tar.gz nextcloud-server-11215f4e275f7e7d1aafdb8af440550d27562ad8.zip |
Return -3 for unlimited quota
Returns -3 for unlimited quota in Webdav response.
Also adjusted personal page to show unlimited quota when set.
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 101503a03fb..600599d7175 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -725,4 +725,8 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage { list($targetStorage) = $this->ownerView->resolvePath($ownerPath); return $targetStorage->isLocal(); } + + public function getSourceStorage() { + return $this->sourceStorage; + } } |