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:16 +0000 (09:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Sep 2011 09:52:16 +0000 (09:52 +0000)
Thanks to psc

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

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

index dd9d8c5f1a2d93c7d3febdc11225a3276a7390af..5dfe887d0061e2301233cd6ac259c3f266d94c51 100644 (file)
@@ -549,7 +549,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);
     }