summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-28 17:58:49 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-09-28 17:58:49 +0200
commite9aa11a1b08c54c80995a065383423f4f1a0a0ed (patch)
tree34fa37c928e8b5885513da7dea089cfd5630682b /lib
parentd58c0e68343185fe37293fa3901ced348e23bb9b (diff)
downloadnextcloud-server-e9aa11a1b08c54c80995a065383423f4f1a0a0ed.tar.gz
nextcloud-server-e9aa11a1b08c54c80995a065383423f4f1a0a0ed.zip
Use full percentages in quota bar percentages
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Settings/Personal/PersonalInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Settings/Personal/PersonalInfo.php b/lib/private/Settings/Personal/PersonalInfo.php
index e92541c0010..389257cf892 100644
--- a/lib/private/Settings/Personal/PersonalInfo.php
+++ b/lib/private/Settings/Personal/PersonalInfo.php
@@ -116,7 +116,7 @@ class PersonalInfo implements ISettings {
$parameters = [
'total_space' => $totalSpace,
'usage' => \OC_Helper::humanFileSize($storageInfo['used']),
- 'usage_relative' => $storageInfo['relative'],
+ 'usage_relative' => round($storageInfo['relative']),
'quota' => $storageInfo['quota'],
'avatarChangeSupported' => $user->canChangeAvatar(),
'lookupServerUploadEnabled' => $lookupServerUploadEnabled,