Code

Removed 'member' attribute modification from plugin::move(), the group class handles...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Nov 2009 11:01:05 +0000 (11:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Nov 2009 11:01:05 +0000 (11:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14836 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc

index 38bd1cf9436b30d4807e6da09edfad3870b10d9d..8f7b4f4b27a65f492a27206501ca2b43d7655ccb 100644 (file)
@@ -1001,14 +1001,9 @@ class plugin
 
     // Walk through all POSIX groups
     foreach($groups as $group){
+
       // Migrate old to new dn
       $o_group= new group($this->config,$group['dn']);
-      if (isset($o_group->member[$src_dn])) {
-        unset($o_group->member[$src_dn]);
-      }
-      $o_group->member[$dst_dn]= $dst_dn;
-      
-      // Save object group
       $o_group->save();
     }