Code

Fixed faiManagement, cleaning up the FAI-releases was using a wrong entry dn, when...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Sep 2011 09:52:43 +0000 (09:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Sep 2011 09:52:43 +0000 (09:52 +0000)
Thanks to psc

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

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

index 01568431ae66e4a6659f7f2358250628625acaad..c6b947952d0da90d972c71139b4f5bfaa78ef5ff 100644 (file)
@@ -520,7 +520,7 @@ class faiManagement extends management
 
     // Now save changes
     FAI::save_release_changes_now();
-    $to_del = FAI::clean_up_releases($this->last_dn);
+    $to_del = FAI::clean_up_releases($this->dn);
     foreach($to_del as $dn){
       $ldap->rmdir_recursive($dn);
     }