From 4b809c39a77563c4fa714db87abe40d8fe85d97d Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 15 May 2007 07:11:47 +0000 Subject: [PATCH] Reverted changes made on Log DB Service git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6375 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_goLogDBServer.inc | 19 +++++++------------ plugins/admin/systems/goLogDBServer.tpl | 16 ++++------------ 2 files changed, 11 insertions(+), 24 deletions(-) diff --git a/plugins/admin/systems/class_goLogDBServer.inc b/plugins/admin/systems/class_goLogDBServer.inc index e091c1c1e..31ad8e8dc 100644 --- a/plugins/admin/systems/class_goLogDBServer.inc +++ b/plugins/admin/systems/class_goLogDBServer.inc @@ -9,7 +9,7 @@ class goLogDBServer extends goService{ /* This plugin only writes its objectClass */ var $objectclasses = array("goLogDBServer"); - var $attributes = array("goLogDBServerUser", "goLogDBServerPassword", "goLogDB" ); + var $attributes = array("goLogAdmin", "goLogPassword"); var $StatusFlag = "goLogDBServerStatus"; /* This class can't be assigned twice so it conflicts with itsself */ @@ -20,9 +20,8 @@ class goLogDBServer extends goService{ var $acl; var $cn = ""; var $goLogDBServerStatus = ""; - var $goLogDBServerUser = ""; - var $goLogDBServerPassword= ""; - var $goLogDB = "gosa_log"; + var $goLogAdmin = ""; + var $goLogPassword = ""; function goLogDBServer($config,$dn) @@ -60,15 +59,12 @@ class goLogDBServer extends goService{ function check() { $message = plugin::check(); - if (empty($this->goLogDBServerUser)){ + if (empty($this->goLogAdmin)){ $message[]= sprintf_("The attribute user is empty or contains invalid characters."); } - if (empty($this->goLogDBServerPassword)){ + if (empty($this->goLogPassword)){ $message[]= sprintf_("The attribute password is empty or contains invalid characters."); } - if (empty($this->goLogDB)){ - $message[]= sprintf_("The attribute database is empty or contains invalid characters."); - } return($message); } @@ -96,9 +92,8 @@ class goLogDBServer extends goService{ "start" => _("Start"), "stop" => _("Stop"), "restart" => _("Restart"), - "goLogDBServerUser" => _("User"), - "goLogDBServerPassword" => _("Password"), - "goLogDB" => _("Database")) + "goLogAdmin" => _("Admin"), + "goLogPassword" => _("Password")) )); } } diff --git a/plugins/admin/systems/goLogDBServer.tpl b/plugins/admin/systems/goLogDBServer.tpl index a16d6f1c6..839507029 100644 --- a/plugins/admin/systems/goLogDBServer.tpl +++ b/plugins/admin/systems/goLogDBServer.tpl @@ -3,24 +3,16 @@ {t}Logging DB user{/t}{$must} -{render acl=$goLogDBServerUserACL} - +{render acl=$goLogAdminACL} + {/render} {t}Password{/t}{$must} -{render acl=$goLogDBServerPasswordACL} - -{/render} - - - - {t}Database{/t}{$must} - -{render acl=$goLogDBACL} - +{render acl=$goLogPasswordACL} + {/render} -- 2.30.2