You are here

function twilio_user_delete in Twilio 7

Implements hook_user_delete().

2 calls to twilio_user_delete()
twilio_user_settings_confirm_form_submit in ./twilio.pages.inc
Submit handler for user settings confirmation form.
twilio_user_settings_reset_form_submit in ./twilio.pages.inc
Submit handler for user settings reset form.

File

./twilio.user.inc, line 55
Twilio user account and registration related functionality

Code

function twilio_user_delete($account) {
  db_delete('twilio_user')
    ->condition('uid', $account->uid)
    ->execute();
}