diff options
author | Joas Schilling <coding@schilljs.com> | 2017-09-28 21:38:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 21:38:15 +0200 |
commit | 7a5762f4946c9e80a1636109e9f79f2d293edbbe (patch) | |
tree | 34fa37c928e8b5885513da7dea089cfd5630682b | |
parent | d58c0e68343185fe37293fa3901ced348e23bb9b (diff) | |
parent | e9aa11a1b08c54c80995a065383423f4f1a0a0ed (diff) | |
download | nextcloud-server-7a5762f4946c9e80a1636109e9f79f2d293edbbe.tar.gz nextcloud-server-7a5762f4946c9e80a1636109e9f79f2d293edbbe.zip |
Merge pull request #6691 from nextcloud/rounding
Use full percentages in quota bar percentages
-rw-r--r-- | lib/private/Settings/Personal/PersonalInfo.php | 2 |
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, |