Skip to content

Commit

Permalink
fix: Allow overriding shouldApplyQuota check from child classes
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Oct 9, 2024
1 parent 02f3c88 commit 75381df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Storage/Wrapper/Quota.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private function isPartFile($path): bool {
/**
* 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/');
}

Expand Down

0 comments on commit 75381df

Please sign in to comment.