We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 410bd9d + 0fb070b commit efee3b1Copy full SHA for efee3b1
1 file changed
lib/private/Files/Storage/Wrapper/Quota.php
@@ -83,7 +83,7 @@ protected function getSize($path, $storage = null) {
83
* @return int
84
*/
85
public function free_space($path) {
86
- if ($this->quota < 0 || strpos($path, 'cache') === 0) {
+ if ($this->quota < 0 || strpos($path, 'cache') === 0 || strpos($path, 'uploads') === 0) {
87
return $this->storage->free_space($path);
88
} else {
89
$used = $this->getSize($this->sizeRoot);
0 commit comments