function acl_user_cancel in ACL 7
Same name and namespace in other branches
- 8 acl.module \acl_user_cancel()
Implements hook_user_cancel().
File
- ./
acl.module, line 318 - An API module providing by-user access control lists.
Code
function acl_user_cancel($edit, $account, $method) {
db_delete('acl_user')
->condition('uid', $account->uid)
->execute();
}