From bfce84b9b5d17a4ad8dcf586af467d4124a5fc10 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 29 Mar 2010 13:25:28 +0000 Subject: [PATCH] Updated Class removal git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17356 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiManagement.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 1e07bb848..384013654 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -456,6 +456,7 @@ class faiManagement extends management // Now save changes $str = management::removeEntryConfirmed($action,array($dn),$all,$type[0],$type[2],"fai",$type[1]); if(!empty($str)) return($str); + FAI::save_release_changes_now(); $to_del = FAI::clean_up_releases($dn); foreach($to_del as $dn){ $ldap->rmdir_recursive($dn); @@ -467,9 +468,6 @@ class faiManagement extends management } } } - if(count($this->dns)){ - FAI::save_release_changes_now(); - } /* Normally this shouldn't be reached, send some extra logs to notify the administrator */ -- 2.30.2