function performance_clear_details in Performance Logging and Monitoring 7.2
Same name and namespace in other branches
- 6.2 includes/performance.details.inc \performance_clear_details()
Helper function to clear the detail logs.
Return value
void
1 call to performance_clear_details()
- performance_clear_form_submit in ./
performance.module - Clear logs form submit handler.
File
- includes/
performance.details.inc, line 125 - Performance module detail logging related functions. Can be overridden by adding $conf['performance_detail_logging'] = 'path/to/your/file' in settings.php.
Code
function performance_clear_details() {
db_truncate('performance_detail')
->execute();
}