summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-20 07:46:33 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-20 07:46:33 +0000
commit100ea2d1859bdbd5ef29d5699c7e6ead8c113c78 (patch)
tree279862949274cd72e066c7c174afd3889c30be86 /modules/contact
parent31240fd2ff6627543617f45b25f5a67ab77efa92 (diff)
downloadbrdo-100ea2d1859bdbd5ef29d5699c7e6ead8c113c78.tar.gz
brdo-100ea2d1859bdbd5ef29d5699c7e6ead8c113c78.tar.bz2
#773792 by scor: Fixed contact_update_7002() depends on user_update_7006().
Diffstat (limited to 'modules/contact')
-rw-r--r--modules/contact/contact.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/contact/contact.install b/modules/contact/contact.install
index 2aeba741e..5ec5dcbcd 100644
--- a/modules/contact/contact.install
+++ b/modules/contact/contact.install
@@ -90,6 +90,18 @@ function contact_uninstall() {
}
/**
+ * Implements hook_update_dependencies().
+ */
+function contact_update_dependencies() {
+ // Contact update 7002 calls the new user_role_grant_permissions() and
+ // therefore needs to run after user_update_7006();
+ $dependencies['contact'][7002] = array(
+ 'user' => 7006,
+ );
+ return $dependencies;
+}
+
+/**
* @defgroup updates-6.x-to-7.x Contact updates from 6.x to 7.x
* @{
*/