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

remotes/origin/stable5
Michael Gapczynski 12 years ago
parent b6a21cc4b5
commit 00e28cf156
  1. 2
      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) {

Loading…
Cancel
Save