aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-11-21 16:21:25 +0100
committerVincent Petry <vincent@nextcloud.com>2022-11-21 23:46:02 +0100
commit5ed992588350c1f1dbe636dfe15baa780559b3dd (patch)
treed052d6769955e4153eee36bb714123debf249dbe /apps/provisioning_api
parent0467731daed032d205e120e0195deca81de9009f (diff)
downloadnextcloud-server-5ed992588350c1f1dbe636dfe15baa780559b3dd.tar.gz
nextcloud-server-5ed992588350c1f1dbe636dfe15baa780559b3dd.zip
Don't use quota cache through user management
When querying the free space through user management APIs, don't use the cached quota value. The latter is only there to accelerate PROPFINDs. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r--apps/provisioning_api/lib/Controller/AUserData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/AUserData.php b/apps/provisioning_api/lib/Controller/AUserData.php
index f2fbea7b04f..0fc2bb6f0d3 100644
--- a/apps/provisioning_api/lib/Controller/AUserData.php
+++ b/apps/provisioning_api/lib/Controller/AUserData.php
@@ -245,7 +245,7 @@ abstract class AUserData extends OCSController {
try {
\OC_Util::tearDownFS();
\OC_Util::setupFS($userId);
- $storage = OC_Helper::getStorageInfo('/');
+ $storage = OC_Helper::getStorageInfo('/', null, true, false);
$data = [
'free' => $storage['free'],
'used' => $storage['used'],