diff --git a/plugins/admin/mimetypes/class_mimetypeManagement.inc b/plugins/admin/mimetypes/class_mimetypeManagement.inc
index fc87bec435a022931c95e0bfcabdafc23ca5b999..4955d2fe7677f72c5a0fa187469c9730ee5161f0 100755 (executable)
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this mime type!"));
- @log::log("security","mimetypes/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","mimetypes/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
del_lock ($dn);
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this mime type!"));
- @log::log("security","mimetypes/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","mimetypes/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */