summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-07-01 15:14:27 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-07-01 15:14:27 +0000
commit18b73f13b77e9df968f744093f3c260babcbc9be (patch)
tree67ade3378ed5fab84814e368d94e6f48e1cc4aae
parentd4570f032a59c229f369d75f87ced5282405582e (diff)
downloadbrdo-18b73f13b77e9df968f744093f3c260babcbc9be.tar.gz
brdo-18b73f13b77e9df968f744093f3c260babcbc9be.tar.bz2
#842394 by Stevel: Add dependency to filter_update_7005 so that it runs after the addition of role weight column.
-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
* @{
*/