Closed (fixed)
Project:
Bad Behavior
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Dec 2005 at 21:21 UTC
Updated:
12 Jan 2006 at 08:20 UTC
According to the handbook on converting modules to 4.7, the function message_access() has been removed.
The message_access() function was removed. Replace all occurrences with a nice case error message that is specific to the error that has been caught.
This function is used on line 132 of the current version of the 4.7 module.
Comments
Comment #1
dpangier commentedThe check and message were redundant is any case, since the code was in hook_settings which has already checked for site administration rights.
I have removed them. This makes the "administer bad behavior" permission less powerful, since it only controls access to the logs now, on the other hand you could only access Bad Behavior settings with a combination of "administer bad behavior" and "administer site configuration" permissions before.
Comment #2
grohk commentedThanks for the update KSlap!
Comment #3
(not verified) commented