mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 16:48:59 -04:00
return unknown free space from nullstorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
1a591cea97
commit
ad5d04ccbe
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@
|
|||
namespace OC\Lockdown\Filesystem;
|
||||
|
||||
use Icewind\Streams\IteratorDirectory;
|
||||
use OC\Files\FileInfo;
|
||||
use OC\Files\Storage\Common;
|
||||
|
||||
class NullStorage extends Common {
|
||||
|
|
@ -128,7 +129,7 @@ class NullStorage extends Common {
|
|||
}
|
||||
|
||||
public function free_space($path) {
|
||||
return 0;
|
||||
return FileInfo::SPACE_UNKNOWN;
|
||||
}
|
||||
|
||||
public function touch($path, $mtime = null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue