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/block/block.install | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'modules/block') diff --git a/modules/block/block.install b/modules/block/block.install index c45b076bf..b2ab477d9 100644 --- a/modules/block/block.install +++ b/modules/block/block.install @@ -190,16 +190,12 @@ function block_install() { * Implements hook_update_dependencies(). */ function block_update_dependencies() { - // Block update 7005 needs to query the list of existing text formats and - // therefore must run after filter_update_7000(). + // block_update_7005() 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['block'][7005] = array( 'filter' => 7000, ); - // Ensure that format columns are only changed after Filter module has changed - // the primary records. - $dependencies['block'][7007] = array( - 'filter' => 7010, - ); return $dependencies; } -- cgit v1.2.3