From: cajus Date: Mon, 11 Sep 2006 10:18:26 +0000 (+0000) Subject: Stripped unneeded copy action X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1156d498b55d7311105695deee59f968f67f8b2a;p=gosa.git Stripped unneeded copy action git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4639 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_termgroup.inc b/plugins/admin/ogroups/class_termgroup.inc index 967ebc6f8..0a173556e 100644 --- a/plugins/admin/ogroups/class_termgroup.inc +++ b/plugins/admin/ogroups/class_termgroup.inc @@ -141,22 +141,21 @@ class termgroup extends plugin function update_term_member_FAIstate($act) { /* Get required informations */ - $og = $this->parent->by_object['ogroup']; - $allobs = $og->allobjects; - $mem = $og->member; + $og = $this->parent->by_object['ogroup']; + $allobs= $og->allobjects; /* Get correct value for FAIstate */ - $action = $this->mapActions[$act]; + $action= $this->mapActions[$act]; /* Get ldap connection */ - $ldap = $this->config->get_ldap_link(); + $ldap= $this->config->get_ldap_link(); $ldap->cd ($this->config->current['BASE']); /* Foreach member of mthis ogroup ... */ - foreach($mem as $key ){ + foreach($og->member as $key ){ /* check objectClasses and create attributes array */ - $attrs = array("FAIstate"=>$action); + $attrs = array("FAIstate" => $action); for($i = 0; $i < $allobs[$key]['objectClass']['count'] ; $i ++){ $attrs['objectClass'][] = $allobs[$key]['objectClass'][$i]; }