summaryrefslogtreecommitdiff
path: root/lib/api/kolab_api_service_group.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/kolab_api_service_group.php')
-rw-r--r--lib/api/kolab_api_service_group.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/api/kolab_api_service_group.php b/lib/api/kolab_api_service_group.php
index b9eed47..ebcd43e 100644
--- a/lib/api/kolab_api_service_group.php
+++ b/lib/api/kolab_api_service_group.php
@@ -121,7 +121,6 @@ class kolab_api_service_group extends kolab_api_service
//console("group_edit \$postdata", $postdata);
$group_attributes = $this->parse_input_attributes('group', $postdata);
- $group = $postdata['id'];
$auth = Auth::get_instance();
$result = $auth->group_edit($postdata['id'], $group_attributes, $postdata['type_id']);
@@ -163,14 +162,6 @@ class kolab_api_service_group extends kolab_api_service
Log::trace("group_info() result: " . var_export($result, TRUE));
- if (empty($result['ou'])) {
- $dn = ldap_explode_dn($result['entrydn'], 0);
- // pop the count and rdn
- unset($dn['count']);
- unset($dn[0]);
- $result['ou'] = implode(',', $dn);
- }
-
if ($result) {
return $result;
}