From 00e28cf15641cccffd39ce2b41ddb0a2dca5cd48 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Sat, 23 Feb 2013 15:42:01 -0500 Subject: [PATCH] Return unknown free space for shared root folder so we can still upload partial files --- apps/files_sharing/lib/sharedstorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index d0ee371c0b..1e82d04ec2 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) {