From 276a0d3ee2826f1d32ceeb43085c387598230534 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Jul 2006 11:54:51 +0000 Subject: [PATCH] removed debug output git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4049 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions_FAI.inc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/include/functions_FAI.inc b/include/functions_FAI.inc index de593a7ae..69fb31464 100644 --- a/include/functions_FAI.inc +++ b/include/functions_FAI.inc @@ -189,15 +189,12 @@ function save_release_changes_now() { /* Variable init*/ $to_save = array(); - - /* check which attributes must realy be saved */ + /* check which objects must be saved */ foreach($_SESSION['FAI_objects_to_save'] as $Current_DN => $object){ if($object['diff']){ $sub_name = $Current_DN; while(isset($_SESSION['FAI_objects_to_save'][$sub_name])){ - - $to_save[strlen($sub_name)][$sub_name] = $_SESSION['FAI_objects_to_save'][$sub_name]; unset($_SESSION['FAI_objects_to_save'][$sub_name]); $sub_name = preg_replace('/^[^,]+,/', '', $sub_name); @@ -208,14 +205,12 @@ function save_release_changes_now() /* Sort list of objects that must be saved, and ensure that container objects are safed, before their childs are saved */ ksort($to_save); - $tmp = array(); foreach($to_save as $SubObjects){ foreach($SubObjects as $object){ $tmp[] = $object; } } - $to_save = $tmp; /* Save objects and manage the correct release behavior*/ @@ -272,7 +267,6 @@ function save_release_changes_now() } } - /* Check if this a leaf release or not */ if(count($following_releases) == 0 ){ @@ -439,8 +433,6 @@ function save_FAI_object($dn,$attrs) global $config; $ldap = $config->get_ldap_link(); $ldap->cd($config->current['BASE']); - echo $dn; - print_a($attrs); $ldap->create_missing_trees(preg_replace('/^[^,]+,/', '', $dn)); $ldap->cd($dn); -- 2.30.2