diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-11-29 05:53:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-11-29 05:53:40 +0000 |
commit | 060810841b9e5ddde50a722076cb51219b5b84f9 (patch) | |
tree | 22626c06d1b1ab094c4e74dcc699b230ffe8312b /includes | |
parent | 6c862208d82eb0cbbd4fa5355c612ff647978474 (diff) | |
download | brdo-060810841b9e5ddde50a722076cb51219b5b84f9.tar.gz brdo-060810841b9e5ddde50a722076cb51219b5b84f9.tar.bz2 |
- Patch by Jeremy to fix a module loading bug:
- module.inc:
+ added call to _init for all modules
- statistics.module:
+ added statistics_init()
+ moved all global actions into statistics_init()
Diffstat (limited to 'includes')
-rw-r--r-- | includes/module.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc index ba93cd45b..545c7d2cc 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -8,6 +8,7 @@ function module_init() { require_once "modules/system.module"; require_once "modules/watchdog.module"; module_list(); + module_invoke_all("init"); } // apply function $function to every known module: @@ -70,4 +71,4 @@ function module_hook($name, $hook) { return function_exists($name ."_". $hook); } -?>
\ No newline at end of file +?> |