Skip to content

Commit c8cc98b

Browse files
authored
Merge pull request #17851 from nextcloud/backport/17830/stable17
[stable17] actually return the quote when getting global storage info
2 parents 351b76f + 8f6a11f commit c8cc98b

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
@@ -585,8 +585,13 @@ private static function getGlobalStorageInfo() {
585585
$relative = 0;
586586
}
587587

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

592597
/**

0 commit comments

Comments
 (0)