function hosting_client_user_cancel in Hosting 7.4
Same name and namespace in other branches
- 7.3 client/hosting_client.access.inc \hosting_client_user_cancel()
Implements hook_user_cancel().
File
- client/
hosting_client.access.inc, line 51 - Control client node access.
Code
function hosting_client_user_cancel($edit, $account, $method) {
db_delete('hosting_client_user')
->condition('user', $account->uid)
->execute();
}