You are here

function certificate_user_cancel in Certificate 7.2

Same name and namespace in other branches
  1. 3.x certificate.module \certificate_user_cancel()

Implements hook_user_cancel().

File

./certificate.module, line 671
Certificate module.

Code

function certificate_user_cancel($edit, $account, $method) {
  $sql = "DELETE FROM {certificate_snapshots} WHERE uid = :uid";
  db_query($sql, array(
    ':uid' => $account->uid,
  ));
}