You are here

function birthdays_sync_profiles_to_birthdays in Birthdays 6

Profile to Birthdays submit handler.

2 string references to 'birthdays_sync_profiles_to_birthdays'
birthdays_sync_form in ./birthdays.admin.inc
Implementation of hook_form().
birthdays_sync_form in ./birthdays.sync.inc
Creates the synchronization form.

File

./birthdays.sync.inc, line 61
Because the Birthdays module uses 2 tables for the birthdays, they have to be kept in sync with each other. Normally that will be no problem, but in some cases there is the need to manually synchronize the two tables. These cases are for example:

Code

function birthdays_sync_profiles_to_birthdays($form, &$form_state) {
  birthdays_set_batch(t('Copy Profile data to Birthdays module'), 'batch_birthdays_sync_p2b');
}