summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-26 19:05:21 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-26 19:05:21 +0000
commit667022830ee203a5779ca44d82e2a9d93a1b21f8 (patch)
tree25e32f751a772e033f68b6be0c563169339c60fb /includes/bootstrap.inc
parenta2055ae9d9b28b011d4c8253eee7eaa4240b2f2a (diff)
downloadbrdo-667022830ee203a5779ca44d82e2a9d93a1b21f8.tar.gz
brdo-667022830ee203a5779ca44d82e2a9d93a1b21f8.tar.bz2
- Patch 5140 by Moshe: removed the theme("header") and theme("footer") functions.
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc9
1 files changed, 2 insertions, 7 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index ed274055d..2cfbdacb7 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -144,13 +144,8 @@ function drupal_page_header() {
** call all init() and exit() hooks without including all modules
** only use those hooks for critical operations
*/
- foreach (module_list(0, 1) as $module) {
- if (is_array($module) && $module['bootstrap']) {
- include_once $module['filename'];
- foreach (bootstrap_hooks() as $hook) {
- module_invoke($module['name'], $hook);
- }
- }
+ foreach (bootstrap_hooks() as $hook) {
+ module_invoke_all($hook);
}
exit();
}