index 0c8ef80a9ea99b2337b9633d7f5acfb80c861576..f7ec6810c13d5504306cd059b7a515dd3c2d5828 100644 (file)
if($this->is_account && !$this->view_logged){
$this->view_logged = TRUE;
- @log::log("view","fai/".get_class($this),$this->dn);
+ new log("view","fai/".get_class($this),$this->dn);
}
/* Fill templating stuff */
$use_dn = $this->dn;
}
- @log::log("remove","fai/".get_class($this),$use_dn,$this->attributes);
+ new log("remove","fai/".get_class($this),$use_dn,$this->attributes);
prepare_to_save_FAI_object($use_dn,array(),true);
$this->handle_post_events("remove");
}
prepare_to_save_FAI_object($this->dn,$this->attrs);
if($this->initially_was_account){
- @log::log("modify","fai/".get_class($this),$this->dn,$this->attributes);
+ new log("modify","fai/".get_class($this),$this->dn,$this->attributes);
}else{
- @log::log("create","fai/".get_class($this),$this->dn,$this->attributes);
+ new log("create","fai/".get_class($this),$this->dn,$this->attributes);
}
show_ldap_error($ldap->get_error(), sprintf(_("Saving of FAI/profile with dn '%s' failed."),$this->dn));