diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-02-16 08:43:14 +0100 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-03-07 07:21:20 +0000 |
commit | cab4f8eca32c1a677c5e4d6f60fcf597645501af (patch) | |
tree | d2e795ecc0d13133aa180515ae44f514c98e7e76 /lib/private/User/User.php | |
parent | 8477b1e408aa642b5d8c4b7d31a9738531cde54d (diff) | |
download | nextcloud-server-cab4f8eca32c1a677c5e4d6f60fcf597645501af.tar.gz nextcloud-server-cab4f8eca32c1a677c5e4d6f60fcf597645501af.zip |
fix: Recalculate storage statistics on updating the quota
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/User/User.php')
-rw-r--r-- | lib/private/User/User.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/User/User.php b/lib/private/User/User.php index 2b975c290ba..2d80dbc7adf 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -529,6 +529,7 @@ class User implements IUser { $this->config->setUserValue($this->uid, 'files', 'quota', $quota); $this->triggerChange('quota', $quota, $oldQuota); } + \OC_Helper::clearStorageInfo('/' . $this->uid . '/files'); } /** |