function birthdays_field_delete_instance in Birthdays 7
Implements hook_field_delete_instance().
File
- ./
birthdays.module, line 852 - The Birthdays module allows users to add their birthday to their profile. It lists birthdays on a seperate page and in different blocks. Users can receive an email on their birthday automatically, and the administrator can receive daily reminders of…
Code
function birthdays_field_delete_instance($instance) {
if (db_table_exists('trigger_assignments')) {
db_delete('trigger_assignments')
->condition('hook', _birthdays_instance_hook($instance))
->execute();
}
}