You are here

function elysia_cron_reset_statistics_form_submit in Elysia Cron 7.2

Same name and namespace in other branches
  1. 5.2 elysia_cron.admin.inc \elysia_cron_reset_statistics_form_submit()
  2. 5 elysia_cron.admin.inc \elysia_cron_reset_statistics_form_submit()
  3. 6.2 elysia_cron.admin.inc \elysia_cron_reset_statistics_form_submit()
  4. 6 elysia_cron.admin.inc \elysia_cron_reset_statistics_form_submit()
  5. 7 elysia_cron.admin.inc \elysia_cron_reset_statistics_form_submit()

Submit handler for 'elysia_cron_reset_statistics_form' form.

Parameters

array $form: Form API array.

array $form_state: Filled form_state array with input values.

File

./elysia_cron.admin.inc, line 911
Admin page callbacks for the elysia cron module.

Code

function elysia_cron_reset_statistics_form_submit(array $form, array &$form_state) {
  elysia_cron_reset_stats();
  elysia_cron_message('Reset done.');
  drupal_goto('admin/config/system/cron/maintenance');
}