Code

Instanciate ldap object. Closes #874
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Feb 2010 13:39:18 +0000 (13:39 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Feb 2010 13:39:18 +0000 (13:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15649 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc

index 48e52f9631402062a1b014b7d94ec6fc16d3f5bc..7806244c2d0813b953685eb271797c19a0ee5f68 100644 (file)
@@ -504,6 +504,7 @@ class faiManagement extends management
     // Now save changes
     FAI::save_release_changes_now();
     $to_del = FAI::clean_up_releases($this->last_dn);
+    $ldap= $this->config->get_ldap_link();
     foreach($to_del as $dn){
       $ldap->rmdir_recursive($dn);
     }