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

dpangier’s picture

Assigned: Unassigned » dpangier
Status: Active » Fixed

The 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.

grohk’s picture

Thanks for the update KSlap!

Anonymous’s picture

Status: Fixed » Closed (fixed)