From 1e48014398e19d334bb0b6e5ac517265b575a6f4 Mon Sep 17 00:00:00 2001 From: webchick Date: Sat, 6 Aug 2011 16:29:31 -0700 Subject: Issue #717834 by David_Rothstein, clemens.tolboom, catch: Fixed The dependencies declared in core's hook_update_dependencies() implementations aren't actually correct. --- modules/comment/comment.install | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'modules/comment') diff --git a/modules/comment/comment.install b/modules/comment/comment.install index 120467fd0..cda3c308d 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -83,14 +83,16 @@ function comment_modules_enabled($modules) { * Implements hook_update_dependencies(). */ function comment_update_dependencies() { - // Comment update 7005 creates the comment body field and therefore must run - // after text module has been enabled and entities have been updated. + // comment_update_7005() creates the comment body field and therefore must + // run after all Field modules have been enabled, which happens in + // system_update_7027(). $dependencies['comment'][7005] = array( - 'system' => 7021, + 'system' => 7027, ); - // Comment update 7006 needs to query the list of existing text formats and - // therefore must run after filter_update_7000(). + // comment_update_7006() needs to query the {filter_format} table to get a + // list of existing text formats, so it must run after filter_update_7000(), + // which creates that table. $dependencies['comment'][7006] = array( 'filter' => 7000, ); -- cgit v1.2.3