Code

Removed debug output
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 16 May 2011 13:01:40 +0000 (13:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 16 May 2011 13:01:40 +0000 (13:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20836 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_text.inc [new file with mode: 0644]
gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.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 (file)
index 0000000..c20983f
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+
+class TemplateWidget_text extends TemplateWidget_textEditor
+{
+}
+?>
index 6a8aff06e2c4fd8c66f19dc10d9185cdec988943..deb9eee33e62234f522c52f42c2d8915bd105404 100644 (file)
@@ -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{