diff --git a/plugins/admin/systems/class_goShareServer.inc b/plugins/admin/systems/class_goShareServer.inc
index 315a6e26a6751400825b32c51a027e9783c6b747..d12c5a07b8222160c397e28a7648cf885d4c83e7 100644 (file)
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);
}
show_ldap_error($ldap->get_error(), sprintf(_("Saving of system server/shares with dn '%s' failed."),$this->dn));
if($this->initially_was_account){
$this->handle_post_events("modify");
- @log::log("modify","server/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
+ new log("modify","server/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
}else{
$this->handle_post_events("add");
- @log::log("create","server/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
+ new log("create","server/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
}
}