diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-08-06 16:29:31 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-08-06 16:29:31 -0700 |
commit | 1e48014398e19d334bb0b6e5ac517265b575a6f4 (patch) | |
tree | 11b0e38f2cf212ca48bfb8946c3f446abe354061 /modules/comment/comment.install | |
parent | 3af0b234d2d9d0be8bf578096d621a57eaf3481a (diff) | |
download | brdo-1e48014398e19d334bb0b6e5ac517265b575a6f4.tar.gz brdo-1e48014398e19d334bb0b6e5ac517265b575a6f4.tar.bz2 |
Issue #717834 by David_Rothstein, clemens.tolboom, catch: Fixed The dependencies declared in core's hook_update_dependencies() implementations aren't actually correct.
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r-- | modules/comment/comment.install | 12 |
1 files changed, 7 insertions, 5 deletions
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, ); |