diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc
index 6fd51ecd3553d31269c4af3524967cb3ff1dc872..de6a7fb56ad7de77806e33a394595e63ac1bc955 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 group!"));
- @log::log("security","groups/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","groups/".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 group!"));
- @log::log("security","groups/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","groups/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */