Return unknown free space for shared root folder so we can still upload partial files

This commit is contained in:
Michael Gapczynski 2013-02-23 15:42:01 -05:00
parent b6a21cc4b5
commit 00e28cf156

View file

@ -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) {