lib/api
Aleksander Machniak
machniak at kolabsys.com
Wed Aug 7 09:58:10 CEST 2013
lib/api/kolab_api_service_user.php | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit 84298e36589360b2cc2d00e42f4cf3f7e10f2508
Author: Aleksander Machniak <alec at alec.pl>
Date: Wed Aug 7 09:57:27 2013 +0200
Remove old code (#1966)
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'];
More information about the commits
mailing list