From 2559096ab21cbcc290326dfa490075467ebd53cf Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 16 May 2011 13:01:40 +0000 Subject: [PATCH] Removed debug output git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20836 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../TemplateEngine/class_TemplateWidget_text.inc | 6 ++++++ .../admin/newConfigManagement/class_newConfigManagement.inc | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_text.inc diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_text.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_text.inc new file mode 100644 index 000000000..c20983fb3 --- /dev/null +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_text.inc @@ -0,0 +1,6 @@ + diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc index 6a8aff06e..deb9eee33 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc @@ -890,7 +890,6 @@ class newConfigManagement extends plugin // Add the new item $rpc = $this->config->getRpcHandle(); - print_a(array($release, $newItemPath, $type, $values)); $res = $rpc->setConfigItem($release, $newItemPath, $type, $values); if(!$rpc->success()){ msg_dialog::display(_("Error"), sprintf(_("Failed to save %s: %s"),$type, $rpc->get_error()),ERROR_DIALOG); @@ -909,7 +908,7 @@ class newConfigManagement extends plugin $rpc = $this->config->getRpcHandle(); $res = $rpc->setConfigItem($release, $oldItemPath, $type, $values); if(!$rpc->success()){ - msg_dialog::display(_("Error"), sprintf(_("Failed to load distributions: %s"), $rpc->get_error()),ERROR_DIALOG); + msg_dialog::display(_("Error"), sprintf(_("Failed to svae config item: %s"), $rpc->get_error()),ERROR_DIALOG); return(NULL); }else{ -- 2.30.2