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