return unknown free space from nullstorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
8296f1a35b
commit
8cf62e21b5
|
@ -20,6 +20,7 @@
|
||||||
namespace OC\Lockdown\Filesystem;
|
namespace OC\Lockdown\Filesystem;
|
||||||
|
|
||||||
use Icewind\Streams\IteratorDirectory;
|
use Icewind\Streams\IteratorDirectory;
|
||||||
|
use OC\Files\FileInfo;
|
||||||
use OC\Files\Storage\Common;
|
use OC\Files\Storage\Common;
|
||||||
|
|
||||||
class NullStorage extends Common {
|
class NullStorage extends Common {
|
||||||
|
@ -128,7 +129,7 @@ class NullStorage extends Common {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function free_space($path) {
|
public function free_space($path) {
|
||||||
return 0;
|
return FileInfo::SPACE_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function touch($path, $mtime = null) {
|
public function touch($path, $mtime = null) {
|
||||||
|
|
Loading…
Reference in New Issue