diff --git a/lib/private/Files/Storage/Wrapper/Quota.php b/lib/private/Files/Storage/Wrapper/Quota.php index a7d5f3101f..860fce5727 100644 --- a/lib/private/Files/Storage/Wrapper/Quota.php +++ b/lib/private/Files/Storage/Wrapper/Quota.php @@ -202,7 +202,8 @@ class Quota extends Wrapper { } public function mkdir($path) { - if ($this->quota === 0.0) { + $free = $this->free_space($path); + if ($free === 0.0) { return false; }