function statistics_user_delete in Drupal 7
Implements hook_user_delete().
File
- modules/
statistics/ statistics.module, line 236 - Logs and displays access statistics for a site.
Code
function statistics_user_delete($account) {
db_delete('accesslog')
->condition('uid', $account->uid)
->execute();
}