- Patch #77971 by jvandyck, drumm, et al: move logging to exit hook

5.x
Dries Buytaert 2006-12-30 07:53:31 +00:00
parent 12a55af8d1
commit f49088015f
1 changed files with 2 additions and 2 deletions

View File

@ -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. * This is where statistics are gathered on page accesses.
*/ */
function statistics_init() { function statistics_exit() {
global $user, $recent_activity; global $user, $recent_activity;
drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH); drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH);