function certificate_user_delete in Certificate 7.3
Same name and namespace in other branches
- 8.3 certificate.module \certificate_user_delete()
- 4.x certificate.module \certificate_user_delete()
Implements hook_user_cancel().
File
- ./
certificate.module, line 658 - Certificate module.
Code
function certificate_user_delete($account) {
$sql = "DELETE FROM {certificate_snapshots} WHERE uid = :uid";
db_query($sql, array(
':uid' => $account->uid,
));
}