summaryrefslogtreecommitdiff
path: root/modules/statistics
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-12-30 07:53:31 +0000
committerDries Buytaert <dries@buytaert.net>2006-12-30 07:53:31 +0000
commitf49088015f77471ebe31f5663fc2cf2177b0901c (patch)
treef2239e621ed6e418680492985de22731e9942a76 /modules/statistics
parent12a55af8d1f2699fbd47d51be07ce028a07f022c (diff)
downloadbrdo-f49088015f77471ebe31f5663fc2cf2177b0901c.tar.gz
brdo-f49088015f77471ebe31f5663fc2cf2177b0901c.tar.bz2
- Patch #77971 by jvandyck, drumm, et al: move logging to exit hook
Diffstat (limited to 'modules/statistics')
-rw-r--r--modules/statistics/statistics.module4
1 files changed, 2 insertions, 2 deletions
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);