summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b034f9b)
raw | patch | inline | side by side (parent: b034f9b)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Sep 2006 10:18:26 +0000 (10:18 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Sep 2006 10:18:26 +0000 (10:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4639 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/ogroups/class_termgroup.inc | patch | blob | history |
index 967ebc6f836f65699aff134e0394f1c74ecb3bd9..0a173556e68dac16a3b03a154f4cd0de56b8f4d2 100644 (file)
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];
}