diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/setquota.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/settings/ajax/setquota.php b/settings/ajax/setquota.php index cd8dc0e2796..8dcb7ddd424 100644 --- a/settings/ajax/setquota.php +++ b/settings/ajax/setquota.php @@ -22,11 +22,7 @@ if(($username == '' && !OC_User::isAdminUser(OC_User::getUser())) $quota=$_POST["quota"]; if($quota!='none' and $quota!='default') { $quota= OC_Helper::computerFileSize($quota); - if($quota==0) { - $quota='default'; - }else{ - $quota=OC_Helper::humanFileSize($quota); - } + $quota=OC_Helper::humanFileSize($quota); } // Return Success story |