summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_user.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-07 09:57:27 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-07 09:57:27 +0200
commit84298e36589360b2cc2d00e42f4cf3f7e10f2508 (patch)
treeb65435cb36f20fe4737fec5f1983d048a5fccebd /lib/api/kolab_api_service_user.php
parentffe3fbf5c027b695c2b0f3335fae28c6826ac0fc (diff)
downloadwebadmin-84298e36589360b2cc2d00e42f4cf3f7e10f2508.tar.gz
Remove old code (#1966)
Diffstat (limited to 'lib/api/kolab_api_service_user.php')
-rw-r--r--lib/api/kolab_api_service_user.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/api/kolab_api_service_user.php b/lib/api/kolab_api_service_user.php
index 96ef4f7..9e4cdde 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -125,13 +125,6 @@ class kolab_api_service_user extends kolab_api_service
{
//console("\$postdata to user_edit()", $postdata);
- if ($postdata['mailquota-unit'] == 'gb') {
- $postdata['mailquota'] *= 1024*1024;
- }
- if ($postdata['mailquota-unit'] == 'mb') {
- $postdata['mailquota'] *= 1024;
- }
-
$user_attributes = $this->parse_input_attributes('user', $postdata);
$user = $postdata['id'];