function push_notifications_regenerate_certificate_string_submit in Push Notifications 7
Form callback for regenerating the APNS certificate string.
1 string reference to 'push_notifications_regenerate_certificate_string_submit'
- push_notifications_admin_form in includes/
push_notifications.admin.inc - Form callback for Push Notifications Settings.
File
- includes/
push_notifications.admin.inc, line 392 - Admin files for Push Notifications module.
Code
function push_notifications_regenerate_certificate_string_submit($form, &$form_state) {
_push_notifications_set_random_certificate_string();
drupal_set_message('The names for your APNS certificates were successfully changed. Please rename both certificate files.');
drupal_goto('admin/config/services/push_notifications/configure');
}