diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-12-21 10:48:43 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-12-21 10:48:43 +0100 |
commit | 0cb45f681f28c08784eb50dbc60080008eb897cd (patch) | |
tree | 737c87db670398ca985d2522f05e086bba227c63 /apps/files/lib | |
parent | 0c38c1b2dbd2c9eb5948b088375601136342aebb (diff) | |
download | nextcloud-server-0cb45f681f28c08784eb50dbc60080008eb897cd.tar.gz nextcloud-server-0cb45f681f28c08784eb50dbc60080008eb897cd.zip |
Update quota on file upload and deletion
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/Helper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/lib/Helper.php b/apps/files/lib/Helper.php index ab952c97dfb..9d9717c9401 100644 --- a/apps/files/lib/Helper.php +++ b/apps/files/lib/Helper.php @@ -56,6 +56,8 @@ class Helper { 'uploadMaxFilesize' => $maxUploadFileSize, 'maxHumanFilesize' => $maxHumanFileSize, 'freeSpace' => $storageInfo['free'], + 'quota' => $storageInfo['quota'], + 'used' => $storageInfo['used'], 'usedSpacePercent' => (int)$storageInfo['relative'], 'owner' => $storageInfo['owner'], 'ownerDisplayName' => $storageInfo['ownerDisplayName'], |