statistics_user
- Versions
- 4.7 – 6
statistics_user($op, &$edit, &$user)
Implementation of hook_user().
Code
modules/statistics/statistics.module, line 176
<?php
function statistics_user($op, &$edit, &$user) {
if ($op == 'delete') {
db_query('UPDATE {accesslog} SET uid = 0 WHERE uid = %d', $user->uid);
}
}
?>Login or register to post comments 