Commit f4908801 authored by Dries's avatar Dries
Browse files

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

parent 12a55af8
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment