Commit 18b73f13 authored by webchick's avatar webchick
Browse files

#842394 by Stevel: Add dependency to filter_update_7005 so that it runs after...

#842394 by Stevel: Add dependency to filter_update_7005 so that it runs after the addition of role weight column.
parent d4570f03
......@@ -139,6 +139,18 @@ function filter_install() {
variable_set('filter_fallback_format', $plain_text_format->format);
}
/**
* Implements hook_update_dependencies().
*/
function filter_update_dependencies() {
// Filter update 7007 migrates permissions and therefore needs to run after
// the {role} table is properly set up.
$dependencies['filter'][7005] = array(
'user' => 7007,
);
return $dependencies;
}
/**
* @defgroup updates-6.x-to-7.x Filter 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