diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-11-21 16:21:25 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-11-21 23:46:02 +0100 |
commit | 5ed992588350c1f1dbe636dfe15baa780559b3dd (patch) | |
tree | d052d6769955e4153eee36bb714123debf249dbe /apps/provisioning_api | |
parent | 0467731daed032d205e120e0195deca81de9009f (diff) | |
download | nextcloud-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.php | 2 |
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'], |