function statistics_user
6.x statistics.module | statistics_user($op, &$edit, &$user) |
Implementation of hook_user().
File
- drupal-6.x/
modules/ statistics/ statistics.module, line 169 - Logs access statistics for your site.
Code
function statistics_user($op, &$edit, &$user) {
if ($op == 'delete') {
db_query('UPDATE {accesslog} SET uid = 0 WHERE uid = %d', $user->uid);
}
}