Skip to content

Commit aa79f59

Browse files
authored
Merge pull request #17853 from nextcloud/backport/17830/stable15
[stable15] actually return the quote when getting global storage info
2 parents 2192b46 + 0bf7b04 commit aa79f59

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
@@ -611,8 +611,13 @@ private static function getGlobalStorageInfo() {
611611
$relative = 0;
612612
}
613613

614-
return array('free' => $free, 'used' => $used, 'total' => $total, 'relative' => $relative);
615-
614+
return [
615+
'free' => $free,
616+
'used' => $used,
617+
'total' => $total,
618+
'relative' => $relative,
619+
'quota' => $quota
620+
];
616621
}
617622

618623
/**

0 commit comments

Comments
 (0)