You are here

function dblog_user in Drupal 6

Implementation of hook_user().

File

modules/dblog/dblog.module, line 111
System monitoring and logging for administrators.

Code

function dblog_user($op, &$edit, &$user) {
  if ($op == 'delete') {
    db_query('UPDATE {watchdog} SET uid = 0 WHERE uid = %d', $user->uid);
  }
}