diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-02-23 15:42:01 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-02-23 15:42:01 -0500 |
commit | 00e28cf15641cccffd39ce2b41ddb0a2dca5cd48 (patch) | |
tree | 7acf7f256f3be15218505f7b8c35ba5d9925b2e5 /apps | |
parent | b6a21cc4b5f060863e1dbfa9d090b8baeed02b59 (diff) | |
download | nextcloud-server-00e28cf15641cccffd39ce2b41ddb0a2dca5cd48.tar.gz nextcloud-server-00e28cf15641cccffd39ce2b41ddb0a2dca5cd48.zip |
Return unknown free space for shared root folder so we can still upload partial files
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index d0ee371c0b1..1e82d04ec23 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -384,7 +384,7 @@ class Shared extends \OC\Files\Storage\Common { public function free_space($path) { if ($path == '') { - return -1; + return \OC\Files\FREE_SPACE_UNKNOWN; } $source = $this->getSourcePath($path); if ($source) { |