diff --git a/lib/private/Files/Storage/Wrapper/Quota.php b/lib/private/Files/Storage/Wrapper/Quota.php index 4cd0a5e0b4a9c..154c448999c6a 100644 --- a/lib/private/Files/Storage/Wrapper/Quota.php +++ b/lib/private/Files/Storage/Wrapper/Quota.php @@ -227,7 +227,7 @@ public function moveFromStorage(IStorage $sourceStorage, $sourceInternalPath, $t public function mkdir($path) { $free = $this->free_space($path); - if ($this->shouldApplyQuota($path) && $free === 0.0) { + if ($this->shouldApplyQuota($path) && $free == 0) { return false; } @@ -236,7 +236,7 @@ public function mkdir($path) { public function touch($path, $mtime = null) { $free = $this->free_space($path); - if ($free === 0.0) { + if ($free == 0) { return false; }