summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-07 23:53:04 +0100
committerGitHub <noreply@github.com>2019-11-07 23:53:04 +0100
commitc0398e9a38fa7b297fcbc6d2992c1f6cb75da3ba (patch)
tree798325e9d2d87262a45b1e159051248b96c54d49
parent9fe4b953e98a067b77ccf10f848b97724ac82c0a (diff)
parent5df98d726534062ef00d7450bfae4984fb4267fc (diff)
downloadnextcloud-server-c0398e9a38fa7b297fcbc6d2992c1f6cb75da3ba.tar.gz
nextcloud-server-c0398e9a38fa7b297fcbc6d2992c1f6cb75da3ba.zip
Merge pull request #17830 from nextcloud/global-quota-return-quota
actually return the quote when getting global storage info
-rw-r--r--lib/private/legacy/helper.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/private/legacy/helper.php b/lib/private/legacy/helper.php
index 6faba3ebee2..3c4915ae748 100644
--- a/lib/private/legacy/helper.php
+++ b/lib/private/legacy/helper.php
@@ -586,8 +586,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
+ ];
}
/**