function statistics_user_delete

Implements hook_user_delete().

File

modules/statistics/statistics.module, line 236

Code

function statistics_user_delete($account) {
    db_delete('accesslog')->condition('uid', $account->uid)
        ->execute();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.