mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 17:48:40 -04:00
fix: Allow overriding shouldApplyQuota check from child classes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
parent
f23f6ff63a
commit
433f939d43
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,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/');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue