diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-07 12:07:37 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-07 12:07:37 +0200 |
commit | 49145a78e9f6f5b185780997de909f3f88e0b676 (patch) | |
tree | 3704129feb251dacd6b0eb1eecae34f1a74d8fa3 /lib | |
parent | da583f05fce25a7f2ffadf54509b820bb7bc61e6 (diff) | |
download | nextcloud-server-49145a78e9f6f5b185780997de909f3f88e0b676.tar.gz nextcloud-server-49145a78e9f6f5b185780997de909f3f88e0b676.zip |
Make sure initial files can be properly created
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Quota.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Quota.php b/lib/private/Files/Storage/Wrapper/Quota.php index a7d5f3101fe..860fce57277 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; } |