diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-11 22:39:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-11 22:39:59 +0000 |
commit | 59ece2e39d28ba6052ea67d7770297b93a29d243 (patch) | |
tree | 212d76aad3f27766f0fc60540d8fa0e828b820b1 /modules/block | |
parent | 9d631d22f920796287041408dd8cf090370bac72 (diff) | |
download | brdo-59ece2e39d28ba6052ea67d7770297b93a29d243.tar.gz brdo-59ece2e39d28ba6052ea67d7770297b93a29d243.tar.bz2 |
- Patch #325665 by chx, Damien Tournoud, justinrandell et al: improved the cache registry lookups.
Diffstat (limited to 'modules/block')
-rw-r--r-- | modules/block/block.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/block/block.module b/modules/block/block.module index 9c482e1de..95756a943 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -239,7 +239,7 @@ function _block_rehash() { // Valid region names for the theme. $regions = system_region_list($theme_key); - foreach (module_list() as $module) { + foreach (module_implements('block') as $module) { $module_blocks = module_invoke($module, 'block', 'list'); if ($module_blocks) { foreach ($module_blocks as $delta => $block) { |