summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-08-16 01:49:53 -0500
committerwebchick <webchick@24967.no-reply.drupal.org>2011-08-16 01:49:53 -0500
commit4725ee8e702f36933d03fc8d842d8438eb7be27f (patch)
treecbf438ee08acb2e1ff83a04eac45cc4a969a659a /modules/contact
parent17898e7b0ba169b76f13a51ba39555a0c22205ad (diff)
downloadbrdo-4725ee8e702f36933d03fc8d842d8438eb7be27f.tar.gz
brdo-4725ee8e702f36933d03fc8d842d8438eb7be27f.tar.bz2
Issue #939562 by Stevel, bfroehle: Fixed Update fails on contact #7002.
Diffstat (limited to 'modules/contact')
-rw-r--r--modules/contact/contact.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/contact/contact.install b/modules/contact/contact.install
index 6e8ec7053..f6015581b 100644
--- a/modules/contact/contact.install
+++ b/modules/contact/contact.install
@@ -89,6 +89,25 @@ function contact_uninstall() {
}
/**
+ * Implements hook_update_dependencies().
+ */
+function contact_update_dependencies() {
+ // contact_update_7001() relies on the {role_permission} table being updated
+ // to the new format and filled with data.
+ $dependencies['contact'][7001] = array(
+ 'system' => 7007,
+ );
+
+ // contact_update_7002() relies on the {role_permission} table having the
+ // module field, which is created in user_update_7006().
+ $dependencies['contact'][7002] = array(
+ 'user' => 7006,
+ );
+
+ return $dependencies;
+}
+
+/**
* @addtogroup updates-6.x-to-7.x
* @{
*/