summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulius Knorr <jus@bitgrid.net>2024-10-11 11:55:13 +0200
committerGitHub <noreply@github.com>2024-10-11 11:55:13 +0200
commit7e2b9a062ce123fc18b14b28c9198a5577e863c4 (patch)
treea0f61c45af0d731e26992e32486edbef77a4f65a /lib
parentcf0f1f07c4b25abdeefe529136355ea9809c8a13 (diff)
parent433f939d439f590109c58752bfe2dc49f5dcfdc4 (diff)
downloadnextcloud-server-7e2b9a062ce123fc18b14b28c9198a5577e863c4.tar.gz
nextcloud-server-7e2b9a062ce123fc18b14b28c9198a5577e863c4.zip
Merge pull request #48634 from nextcloud/backport/48623/stable29
[stable29] fix: Allow overriding shouldApplyQuota check from child classes
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Storage/Wrapper/Quota.php2
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/');
}