diff --git a/plugins/admin/systems/class_goGlpiServer.inc b/plugins/admin/systems/class_goGlpiServer.inc
index ec35b1f24afc2d1d928ccc867a00a0bae0ae707b..3ab952904f96b368458cb829d39cd8c843d52145 100644 (file)
<?php
-require_once("class_goService.inc");
-
class goGlpiServer extends goService {
var $cli_summary = "This pluign is used within the ServerService Pluign \nand indicates that this server supports asterisk management.";
var $view_logged =FALSE;
- function goGlpiServer($config,$dn)
+ function goGlpiServer(&$config,$dn)
{
goService::goService($config,$dn);
$this->DisplayName = _("Inventory database");
{
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);
}
$smarty = get_smarty();