summaryrefslogtreecommitdiff
path: root/modules/block
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-08-06 16:29:31 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-08-06 16:29:31 -0700
commit1e48014398e19d334bb0b6e5ac517265b575a6f4 (patch)
tree11b0e38f2cf212ca48bfb8946c3f446abe354061 /modules/block
parent3af0b234d2d9d0be8bf578096d621a57eaf3481a (diff)
downloadbrdo-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/block')
-rw-r--r--modules/block/block.install10
1 files changed, 3 insertions, 7 deletions
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;
}