You are here

function birthdays_defaults_disable in Birthdays 7

Implements hook_disable().

File

defaults/birthdays_defaults.install, line 112
Create a default field and action.

Code

function birthdays_defaults_disable() {
  if (field_info_instance('user', 'birthdays', 'user')) {
    drupal_set_message(t('Note that the <em>birthdays</em> field will be deleted, when you uninstall Birthdays defaults.'), 'warning');
  }
}