fix: Allow overriding shouldApplyQuota check from child classes

Signed-off-by: Julius Knorr <jus@bitgrid.net>
pull/48635/head
Julius Knorr 2024-10-09 08:25:30 +07:00
parent 34b9721c7b
commit 643e9ffb06
1 changed files with 1 additions and 1 deletions

@ -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/');
}