From 667022830ee203a5779ca44d82e2a9d93a1b21f8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 26 Jan 2004 19:05:21 +0000 Subject: - Patch 5140 by Moshe: removed the theme("header") and theme("footer") functions. --- includes/bootstrap.inc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'includes/bootstrap.inc') 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(); } -- cgit v1.2.3