Code

Updated plugin::move
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 2 Jun 2010 07:49:20 +0000 (07:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 2 Jun 2010 07:49:20 +0000 (07:49 +0000)
-include dyngroup migration

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18827 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc

index 2b391e3b4d15e52d05a315c136a5c24692f95d45..6cd709691d7287efba50a127f833a4b1a7b8dfcc 100644 (file)
@@ -915,6 +915,11 @@ class plugin
         trigger_error(sprintf("Failed to update manager for %s: %s", bold($entry['dn']), $ldap->get_error()));
       }
     }
+
+    // Migrate 'dyn-groups' here. labeledURIObject
+    if(class_available('DynamicLdapGroup')) {
+        DynamicLdapGroup::moveDynGroup($this->config,$src_dn,$dst_dn);
+    }
  
     /* Check if there are gosa departments moved. 
        If there were deps moved, the force reload of config->deps.