summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_user.php
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-07 12:27:17 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-07 12:27:17 +0200
commitc0bc29bb9c11420239f929a8bc10bf9bcea409d7 (patch)
treedd121b6a32aed242766dd71487586bca508c0533 /lib/api/kolab_api_service_user.php
parentbf21a4203449f0b88f5d650b9215e215e09010e4 (diff)
downloadwebadmin-c0bc29bb9c11420239f929a8bc10bf9bcea409d7.tar.gz
Return the result of $auth->user_edit() to the client.
Diffstat (limited to 'lib/api/kolab_api_service_user.php')
-rw-r--r--lib/api/kolab_api_service_user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/kolab_api_service_user.php b/lib/api/kolab_api_service_user.php
index 0c1ac4b..ee4dd11 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -137,9 +137,9 @@ class kolab_api_service_user extends kolab_api_service
$auth = Auth::get_instance();
$result = $auth->user_edit($user, $user_attributes, $postdata['type_id']);
- // @TODO: return unique attribute (?), it can change on edit
+ // Return the $mod_array
if ($result) {
- return true;
+ return $result;
}
return false;