Code

Added latest systems patch
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Feb 2010 08:29:57 +0000 (08:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Feb 2010 08:29:57 +0000 (08:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@15706 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index 770591e848f1d0604259b0b55168424d8f805620..0238d71f77405139f3f51643ef2ba2f03469e89c 100644 (file)
@@ -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, "<b>Adding system to ogroup</b>");
-      }
-    }
-
     @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,
         $dn, "<b>Activating system:</b>");
     $ldap = $this->config->get_ldap_link();