Return unknown free space for shared root folder so we can still upload partial files
This commit is contained in:
parent
b6a21cc4b5
commit
00e28cf156
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue