function batch_birthdays_sync_finished in Birthdays 6
Batch finished synchronizing. Display an apropriate message.
1 string reference to 'batch_birthdays_sync_finished'
- birthdays_set_batch in ./
birthdays.sync.inc - Set the batch for either synchronisation processes.
File
- ./
birthdays.sync.inc, line 97 - 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 batch_birthdays_sync_finished($success, $results, $operations) {
if ($success) {
drupal_set_message(t('Birthdays have been synchronized.'));
}
else {
drupal_set_message(t('The birthdays have not been synchronized due to an error.'));
}
}