summaryrefslogtreecommitdiffstats
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-23 14:54:55 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-23 14:54:55 +0200
commit5ba321bf00388017737c4a6e5e62b85440c4b02c (patch)
tree739c998591ec2b34fc6f8f579bed08d8e3975c5e /lib/kolab_client_task.php
parenta3446015c10bec0e911fd7d8faef308e858bb6ed (diff)
downloadwebadmin-5ba321bf00388017737c4a6e5e62b85440c4b02c.tar.gz
Fix regressions in "Make the API parameters more consistent" commit
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index d11ca61..789a743 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -208,7 +208,7 @@ class kolab_client_task
$user['fullname'] = ucwords($m[1]);
}
else {
- $res = $this->api->get('user.info', array('user' => $user['id']));
+ $res = $this->api->get('user.info', array('id' => $user['id']));
$res = $res->get();
if (is_array($res) && !empty($res)) {
@@ -638,7 +638,7 @@ class kolab_client_task
}
}
- $result = $this->api_get('user.info', array('user' => $dn));
+ $result = $this->api_get('user.info', array('id' => $dn));
$username = $result->get('displayname');
if (empty($username)) {
@@ -730,7 +730,7 @@ class kolab_client_task
}
// Get the rights on the entry and attribute level
- $result = $this->api_get($type . '.effective_rights', array($type => $id));
+ $result = $this->api_get($type . '.effective_rights', array('id' => $id));
$result = array(
'attribute' => $result->get('attributeLevelRights'),