You are here

function object_log_clear_form_submit in Object Log 7

Submit callback for object_log_clear_form().

1 string reference to 'object_log_clear_form_submit'
object_log_clear_form in ./object_log.admin.inc
Form for clearing the object log.

File

./object_log.admin.inc, line 187

Code

function object_log_clear_form_submit($form, &$form_state) {
  object_log_clear_log();
  drupal_set_message(t('Object log cleared.'));
  $form_state['redirect'] = 'admin/reports/object_log';
}