summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2012-11-02 22:19:50 (GMT)
committer webchick2012-11-02 22:19:50 (GMT)
commit8355498584c27d1855c2411a2d58dd4c13fb455b (patch)
tree256d97964e4b1f3166e8a7b9c3db2cb02abb857b
parent766e06742c2f90d372be6f08826622526637df2e (diff)
Issue #1586542 follow-up by Eric_A: Explicitly declare dependencies of system_update_7061.
-rw-r--r--modules/system/system.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index b70d64f..dc3e3e2 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1688,6 +1688,12 @@ function system_update_dependencies() {
'block' => 7002,
);
+ // system_update_7061() queries the {node_revision} table, so it must run
+ // after node_update_7001(), which renames the {node_revisions} table.
+ $dependencies['system'][7061] = array(
+ 'node' => 7001,
+ );
+
// system_update_7067() migrates role permissions and therefore must run
// after the {role} and {role_permission} tables are properly set up, which
// happens in user_update_7007().