summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/filter/filter.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/filter/filter.install b/modules/filter/filter.install
index fe2857a98..01b67cfc2 100644
--- a/modules/filter/filter.install
+++ b/modules/filter/filter.install
@@ -140,6 +140,18 @@ function filter_install() {
}
/**
+ * 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
* @{
*/