Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / class_gosaLogServer.inc
index 4f40407a938a6275e84470c3cfc041d20a4df5c4..2e7c052b405ed047009c421d44b73ad47860855a 100644 (file)
@@ -1,11 +1,10 @@
 <?php
-require_once("class_goService.inc");
 
 class gosaLogServer extends goService{
        
   /* This plugin only writes its objectClass */
   var $objectclasses    = array("gosaLogServer");
-  var $attributes       = array("cn","goLogDB","goLogDBUser","goLogDBPassword");
+  var $attributes       = array("goLogDB","goLogDBUser","goLogDBPassword");
   var $StatusFlag       = "";
 
   /* This class can't be assigned twice so it conflicts with itsself */
@@ -22,10 +21,10 @@ class gosaLogServer extends goService{
   var $view_logged  =FALSE;
 
 
-  function gosaLogServer($config,$dn)
+  function gosaLogServer(&$config,$dn)
   {
     goService::goService($config,$dn);
-    $this->DisplayName = _("GOsa logging service");
+    $this->DisplayName = _("GOsa MySQL logging service");
   }
 
 
@@ -53,7 +52,7 @@ class gosaLogServer extends goService{
   function getListEntry()
   {
     $fields = goService::getListEntry();
-    $fields['Message']      = _("GOsa logging service");
+    $fields['Message']      = _("GOsa MySQL logging service");
     $fields['AllowEdit']    = true;
     $fields['AllowStart']   = FALSE;
     $fields['AllowStop']    = FALSE;
@@ -100,7 +99,8 @@ class gosaLogServer extends goService{
           "plProvidedAcls"=> array(
             "goLogDB"         => _("Database"),
             "goLogDBUser"     => _("User"),
-            "goLogDBPassword" => _("Password")) 
+            "goLogDBPassword" => _("Password"), 
+            "viewEntries"    => _("Allow view of entries on this server")) 
           ));
   }
 }