From f49088015f77471ebe31f5663fc2cf2177b0901c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 30 Dec 2006 07:53:31 +0000 Subject: - Patch #77971 by jvandyck, drumm, et al: move logging to exit 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 6ac6ff5fd..af2bb35f3 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -45,11 +45,11 @@ function statistics_help($section) { } /** - * Implementation of hook_init(). + * Implementation of hook_exit(). * * This is where statistics are gathered on page accesses. */ -function statistics_init() { +function statistics_exit() { global $user, $recent_activity; drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH); -- cgit v1.2.3