function _subscriptions_mail_submit_subscriptions_settings_form in Subscriptions 6
Same name and namespace in other branches
- 7 subscriptions_mail.admin.inc \_subscriptions_mail_submit_subscriptions_settings_form()
- 2.0.x subscriptions_mail/subscriptions_mail.admin.inc \_subscriptions_mail_submit_subscriptions_settings_form()
Submit handler for the Purge-the-queue button on the Subscriptions settings form.
1 string reference to '_subscriptions_mail_submit_subscriptions_settings_form'
- _subscriptions_mail_form_subscriptions_settings_form_alter in ./
subscriptions_mail.admin.inc - Implementation of hook_form_alter().
File
- ./
subscriptions_mail.admin.inc, line 111 - Subscriptions module mail gateway (admin functions).
Code
function _subscriptions_mail_submit_subscriptions_settings_form($form, &$form_state) {
if ($form_state['values']['op'] == $form_state['values']['purge_queue']) {
drupal_goto('admin/settings/subscriptions/purge-queue', drupal_get_destination());
}
}