index 0488ed3cef1f0df983babc5fb6f76b079216bb98..52a9bbd122956820a166ad816599cef522a552b6 100644 (file)
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this component!"));
- @log::log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this component!"));
- @log::log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
}else{
$this->lock_dn = $bb;
$this->postremove();
- @log::log("remove","fai/".get_class($this),$br[$bb],array(),"Release removed");
+ new log("remove","fai/".get_class($this),$br[$bb],array(),"Release removed");
}
}
<body style="background: none;margin:3px;color:black">
';
- @log::log("create","fai/".get_class($this),$NewReleaseName,array(),"New $type created");
+ new log("create","fai/".get_class($this),$NewReleaseName,array(),"New $type created");
/* Duplicate applications
*/