Merge pull request #17851 from nextcloud/backport/17830/stable17

[stable17] actually return the quote when getting global storage info
This commit is contained in:
Roeland Jago Douma 2019-11-12 08:11:53 +01:00 committed by GitHub
commit c8cc98be03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -585,8 +585,13 @@ class OC_Helper {
$relative = 0;
}
return array('free' => $free, 'used' => $used, 'total' => $total, 'relative' => $relative);
return [
'free' => $free,
'used' => $used,
'total' => $total,
'relative' => $relative,
'quota' => $quota
];
}
/**