The hook_perm function allows for adding module permissions when a module is installed. However, I am not able to find a function to use in a module's hook_uninstall function to remove the module permissions.

Is there a preferred method for removing a module's permissions from the database (*_permissions) ?

Comments

jsabater’s picture

I could use this information as well. Would be very handy.