diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-12-14 01:16:14 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-12-14 01:16:14 +0100 |
commit | 835d6a9b6e1be4eab22d138e0ef01e608a5597bf (patch) | |
tree | 9c8e20f506fef3c4de89b5f6dc9372aaece9d613 /settings/users.php | |
parent | a9e94a34c9a80929d606c4d64711ad8ecaff35e0 (diff) | |
download | nextcloud-server-835d6a9b6e1be4eab22d138e0ef01e608a5597bf.tar.gz nextcloud-server-835d6a9b6e1be4eab22d138e0ef01e608a5597bf.zip |
save quota in human readable format (42 MB), should prevent some of the overflow related problems
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/users.php b/settings/users.php index 686c4b6a9bf..e5dcc049481 100644 --- a/settings/users.php +++ b/settings/users.php @@ -18,7 +18,7 @@ $users = array(); $groups = array(); foreach( OC_User::getUsers() as $i ){ - $users[] = array( "name" => $i, "groups" => join( ", ", OC_Group::getUserGroups( $i ) ),'quota'=>OC_Helper::humanFileSize(OC_Preferences::getValue($i,'files','quota',0))); + $users[] = array( "name" => $i, "groups" => join( ", ", OC_Group::getUserGroups( $i ) ),'quota'=>OC_Preferences::getValue($i,'files','quota',0)); } foreach( OC_Group::getGroups() as $i ){ |