diff options
author | Julius Knorr <jus@bitgrid.net> | 2024-10-09 08:25:30 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-10-09 16:41:29 +0000 |
commit | 6b870fd8fa6229fdac9adf43a1dbadf44f46989c (patch) | |
tree | 4eeccbdd83fcacf1b847ed57b704d5648e6583dd | |
parent | b97a88a8369a4459901ce9ddb8c08d39abf95791 (diff) | |
download | nextcloud-server-backport/48623/stable28.tar.gz nextcloud-server-backport/48623/stable28.zip |
fix: Allow overriding shouldApplyQuota check from child classesbackport/48623/stable28
Signed-off-by: Julius Knorr <jus@bitgrid.net>
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Quota.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Quota.php b/lib/private/Files/Storage/Wrapper/Quota.php index 35dbc9fcd26..b8a5f82d4c7 100644 --- a/lib/private/Files/Storage/Wrapper/Quota.php +++ b/lib/private/Files/Storage/Wrapper/Quota.php @@ -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/'); } |