Skip to content

Commit

Permalink
Merge pull request #48633 from nextcloud/backport/48623/stable28
Browse files Browse the repository at this point in the history
[stable28] fix: Allow overriding shouldApplyQuota check from child classes
  • Loading branch information
juliusknorr authored Oct 11, 2024
2 parents 8358d33 + 6b870fd commit 9f93855
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 @@ -207,7 +207,7 @@ private function isPartFile($path) {
/**
* 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 9f93855

Please sign in to comment.