summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/kolab_api_service_ou.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/kolab_api_service_ou.php b/lib/api/kolab_api_service_ou.php
index 4afbf67..871e932 100644
--- a/lib/api/kolab_api_service_ou.php
+++ b/lib/api/kolab_api_service_ou.php
@@ -199,7 +199,7 @@ class kolab_api_service_ou extends kolab_api_service
$search = $this->parse_list_search($post);
// find OU(s)
- $units = $auth->list_ous(null, $attributes, $search, $params);
+ $units = $auth->list_organizationalunits(null, $attributes, $search, $params);
if (empty($units) || empty($units['list']) || $units['count'] > 1) {
return false;