You are here

function certificate_user_cancel in Certificate 3.x

Same name and namespace in other branches
  1. 7.2 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,
  ));
}