From 4725ee8e702f36933d03fc8d842d8438eb7be27f Mon Sep 17 00:00:00 2001 From: webchick Date: Tue, 16 Aug 2011 01:49:53 -0500 Subject: Issue #939562 by Stevel, bfroehle: Fixed Update fails on contact #7002. --- modules/contact/contact.install | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'modules/contact') 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 @@ -88,6 +88,25 @@ function contact_uninstall() { variable_del('contact_threshold_window'); } +/** + * 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 * @{ -- cgit v1.2.3