aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-10-09 18:39:42 +0200
committerGitHub <noreply@github.com>2024-10-09 18:39:42 +0200
commit43b1fd7bb8540181284659def6e01b8854a10fc0 (patch)
tree7fec955b19a56df37269b98a67b5ccf8b5b408c9 /lib
parent0b5f0361f97f84a3ffa7ce8030ad9f053fb9ffbc (diff)
parent75381dfe0c929f03ca366853a1a0bf5ace3beee5 (diff)
downloadnextcloud-server-43b1fd7bb8540181284659def6e01b8854a10fc0.tar.gz
nextcloud-server-43b1fd7bb8540181284659def6e01b8854a10fc0.zip
Merge pull request #48623 from nextcloud/fix/allow-quota-wrapper-check
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 42fa6308e70..3fd46c76d21 100644
--- a/lib/private/Files/Storage/Wrapper/Quota.php
+++ b/lib/private/Files/Storage/Wrapper/Quota.php
@@ -146,7 +146,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/');
}