function performance_clear_form_submit in Performance Logging and Monitoring 6
Same name and namespace in other branches
- 6.2 performance.module \performance_clear_form_submit()
- 7.2 performance.module \performance_clear_form_submit()
- 7 performance.module \performance_clear_form_submit()
Clear logs form submit handler.
File
- ./
performance.module, line 1217 - Logs detailed and/or summary page generation time and memory consumption for page requests. Copyright Khalid Baheyeldin 2008 of http://2bits.com
Code
function performance_clear_form_submit($form, &$form_state) {
// Store the user's choice.
$form_state['storage']['store'] = $form_state['values']['store'];
// Make sure the confirm form is displayed.
$form_state['rebuild'] = TRUE;
}