lib/api
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Sat Apr 7 12:29:26 CEST 2012
lib/api/kolab_api_service_user.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c0bc29bb9c11420239f929a8bc10bf9bcea409d7
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Sat Apr 7 12:27:17 2012 +0200
Return the result of $auth->user_edit() to the client.
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;
More information about the commits
mailing list