From 100ea2d1859bdbd5ef29d5699c7e6ead8c113c78 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 20 Apr 2010 07:46:33 +0000 Subject: #773792 by scor: Fixed contact_update_7002() depends on user_update_7006(). --- modules/contact/contact.install | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/contact') 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 @@ -89,6 +89,18 @@ function contact_uninstall() { variable_del('contact_threshold_window'); } +/** + * 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 * @{ -- cgit v1.2.3