diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-12 15:17:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-12 15:17:51 +0000 |
commit | 5f38548b8632060ba12aad8f818485f1086729ea (patch) | |
tree | 1b926224dd63fcf036382b6b87b5a634932ccdbb /modules/contact | |
parent | 8d3eaa1ccf1e7f7d20ecbb19a77e39c028a72706 (diff) | |
download | brdo-5f38548b8632060ba12aad8f818485f1086729ea.tar.gz brdo-5f38548b8632060ba12aad8f818485f1086729ea.tar.bz2 |
- Patch #601250 Dave Reid, andypost: upgrade path for contact form permission.
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/contact/contact.install b/modules/contact/contact.install index 384682802..ac245d586 100644 --- a/modules/contact/contact.install +++ b/modules/contact/contact.install @@ -113,6 +113,13 @@ function contact_update_7001() { } /** + * Enable the 'access user contact forms' for registered users by default. + */ +function contact_update_7002() { + user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access user contact forms')); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |