function contact_update_7001 in Contact 7.2
Same name and namespace in other branches
- 6.2 contact.install \contact_update_7001()
Rename the administer contact forms permission.
File
- ./
contact.install, line 126 - Install, update and uninstall functions for the contact module.
Code
function contact_update_7001() {
db_update('role_permission')
->fields(array(
'permission' => 'administer contact forms',
))
->condition('permission', 'administer site-wide contact form')
->execute();
}