Skip to content

Commit c0398e9

Browse files
authored
Merge pull request #17830 from nextcloud/global-quota-return-quota
actually return the quote when getting global storage info
2 parents 9fe4b95 + 5df98d7 commit c0398e9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/private/legacy/helper.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,8 +586,13 @@ private static function getGlobalStorageInfo() {
586586
$relative = 0;
587587
}
588588

589-
return array('free' => $free, 'used' => $used, 'total' => $total, 'relative' => $relative);
590-
589+
return [
590+
'free' => $free,
591+
'used' => $used,
592+
'total' => $total,
593+
'relative' => $relative,
594+
'quota' => $quota
595+
];
591596
}
592597

593598
/**

0 commit comments

Comments
 (0)