From: hickert Date: Thu, 25 Feb 2010 07:57:57 +0000 (+0000) Subject: Removed Ogroup patch. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f592919ab28c04c662da6339fbae6847429a686d;p=gosa.git Removed Ogroup patch. -This is a solution, but not a good one. The tab objects of the target object should realize that the incoming object was moved and so update its ogroup memeberships git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15700 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 770591e84..0238d71f7 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -1032,20 +1032,6 @@ class systemManagement extends management */ function activate_new_device($dn) { - // finally add entry to ogroup, with its new dn not the source dn with 'ou=incoming.' - if(isset($this->activationQueue[$this->last_dn])){ - $data =$this->activationQueue[$this->last_dn]; - - // Update object group membership - $og = new ogroup($this->config,$data['OG']); - if($og){ - $og->AddDelMembership($this->last_tabObject->dn); - $og->save(); - @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, - $og->dn, "Adding system to ogroup"); - } - } - @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $dn, "Activating system:"); $ldap = $this->config->get_ldap_link();