You are here

function contact_update_7001 in Contact 6.2

Same name and namespace in other branches
  1. 7.2 contact.install \contact_update_7001()

Rename the administer contact forms permission.

File

./contact.install, line 143
Install, update and uninstall functions for the contact module.

Code

function contact_update_7001() {
  $ret = array();
  $ret[] = update_sql("UPDATE {permission} SET perm = REPLACE(perm, 'administer site-wide contact form', 'administer contact forms')");
  return $ret;
}