diff --git a/plugins/admin/systems/class_gosaLogServer.inc b/plugins/admin/systems/class_gosaLogServer.inc
index 6bb2b60ced11ac3c7aff90e01c54979e6efd12fc..2e7c052b405ed047009c421d44b73ad47860855a 100644 (file)
<?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 */
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");
}
if($this->is_account && !$this->view_logged){
$this->view_logged = TRUE;
- @log::log("view","server/".get_class($this),$this->dn);
+ new log("view","server/".get_class($this),$this->dn);
}
$tmp = $this->plInfo();
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;
"plProvidedAcls"=> array(
"goLogDB" => _("Database"),
"goLogDBUser" => _("User"),
- "goLogDBPassword" => _("Password"))
+ "goLogDBPassword" => _("Password"),
+ "viewEntries" => _("Allow view of entries on this server"))
));
}
}