diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc
index 8ce6dc1840255f6109c41e7f3382b2f0b63dccc1..a340977ca8e09cb7542f9346828f1f9444a856b1 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 application!"));
- @log::log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","application/".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 application!"));
- @log::log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */