From fd7c5f10c2b77497ee4a524c69fc0eaf5fb11ed7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 10 Aug 2006 15:35:10 +0000 Subject: - Patch #77971 by Gerhard: move logging to _init hook. --- modules/statistics/statistics.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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); -- cgit v1.2.3