Skip to content
Snippets Groups Projects
Commit 4725ee8e authored by Angie Byron's avatar Angie Byron
Browse files

Issue #939562 by Stevel, bfroehle: Fixed Update fails on contact #7002.

parent 17898e7b
No related branches found
No related tags found
No related merge requests found
......@@ -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
* @{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment