diff --git a/plugins/admin/systems/class_goSyslogServer.inc b/plugins/admin/systems/class_goSyslogServer.inc
index 4c242a3291b264190c0570b74f864aef14e83038..abeb947feb465bbca5ec3c7731d960cc76757ce8 100644 (file)
<?php
-require_once("class_goService.inc");
-
class goSyslogServer extends goService{
var $cli_summary = "This plugin is used within the ServerService Pluign \nand indicates that this server has syslog server enabled.";
var $goSyslogServerStatus = "";
var $view_logged =FALSE;
- function goSyslogServer($config,$dn)
+ function goSyslogServer(&$config,$dn)
{
goService::goService($config,$dn);
- $this->DisplayName = _("Logging service");
+ $this->DisplayName = _("Syslog server");
}
{
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);
}
function getListEntry()
{
$fields = goService::getListEntry();
- $fields['Message'] = _("Logging service");
+ $fields['Message'] = _("Syslog server");
$fields['AllowEdit'] = false;
return($fields);
}