You are here

function performance_clear_details in Performance Logging and Monitoring 6.2

Same name and namespace in other branches
  1. 7.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 101
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_query('TRUNCATE {performance_detail}');
}