Merge pull request #48635 from nextcloud/backport/48623/stable30

This commit is contained in:
Kate 2024-10-28 10:18:40 +01:00 committed by GitHub
commit f6421177f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -182,7 +182,7 @@ class Quota extends Wrapper {
/**
* Only apply quota for files, not metadata, trash or others
*/
private function shouldApplyQuota(string $path): bool {
protected function shouldApplyQuota(string $path): bool {
return str_starts_with(ltrim($path, '/'), 'files/');
}