function datereminder_user_delete in Date Reminder 7
Same name and namespace in other branches
- 6.2 includes/user.inc \datereminder_user_delete()
Implements hook_user_delete().
Delete any reminders associated with this user.
1 call to datereminder_user_delete()
- datereminder_user_cancel in ./
datereminder.module - Implements hook_user_cancel().
File
- ./
datereminder.module, line 884 - Support for reminders for nodes with dates.
Code
function datereminder_user_delete($account) {
db_delete('datereminder')
->condition('uid', $account->uid)
->execute();
}