Commit 100ea2d1 authored by webchick's avatar webchick

#773792 by scor: Fixed contact_update_7002() depends on user_update_7006().

parent 31240fd2
......@@ -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
* @{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment