function statistics_user in Drupal 5
Same name and namespace in other branches
- 4 modules/statistics.module \statistics_user()
- 6 modules/statistics/statistics.module \statistics_user()
Implementation of hook_user().
File
- modules/
statistics/ statistics.module, line 176 - 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);
}
}