Code

Applied patch from psc. See #1157
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Sep 2011 13:10:42 +0000 (13:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Sep 2011 13:10:42 +0000 (13:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@20979 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index aa743164bee813fbae9202e9b332b5943e09e3de..c420d22243d5f78bdd956cd6dd4e43a5dfcc6150 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);
     }