Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
actually return the quote when getting global storage info
prevents 'undefined' index errors when 'include external storage in quota' is enabled

Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 authored and Backportbot committed Nov 7, 2019
commit 8f6a11fdc0b87cfd0699fa467a7ded9d583970c9
9 changes: 7 additions & 2 deletions lib/private/legacy/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,13 @@ private static function getGlobalStorageInfo() {
$relative = 0;
}

return array('free' => $free, 'used' => $used, 'total' => $total, 'relative' => $relative);

return [
'free' => $free,
'used' => $used,
'total' => $total,
'relative' => $relative,
'quota' => $quota
];
}

/**
Expand Down