You are here

function revision_scheduler_user_delete in Revision scheduler 7

Implements hook_user_delete().

File

./revision_scheduler.module, line 235

Code

function revision_scheduler_user_delete($account) {

  // Remove any operations scheduled by this user.
  db_delete('revision_scheduler')
    ->condition('uid', $account->uid)
    ->execute();
}