diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-10 15:35:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-10 15:35:10 +0000 |
commit | fd7c5f10c2b77497ee4a524c69fc0eaf5fb11ed7 (patch) | |
tree | 5dc4578e39970f5e0e7009be88209202b455be73 | |
parent | d2eb90c45eddbafdd37c8dbd3026b8bf43e10150 (diff) | |
download | brdo-fd7c5f10c2b77497ee4a524c69fc0eaf5fb11ed7.tar.gz brdo-fd7c5f10c2b77497ee4a524c69fc0eaf5fb11ed7.tar.bz2 |
- Patch #77971 by Gerhard: move logging to _init hook.
-rw-r--r-- | modules/statistics/statistics.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 729eaa769..cd87f8d62 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -55,11 +55,11 @@ function statistics_help($section) { } /** - * Implementation of hook_exit(). + * Implementation of hook_init(). * * This is where statistics are gathered on page accesses. */ -function statistics_exit() { +function statistics_init() { global $user, $recent_activity; drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH); |