From 49145a78e9f6f5b185780997de909f3f88e0b676 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 7 Jun 2018 12:07:37 +0200 Subject: [PATCH] Make sure initial files can be properly created Signed-off-by: Roeland Jago Douma --- lib/private/Files/Storage/Wrapper/Quota.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }