You are here

function devel_queries_empty in Devel 5

Same name and namespace in other branches
  1. 6 devel.module \devel_queries_empty()
1 string reference to 'devel_queries_empty'
devel_menu in ./devel.module
Implementation of hook_menu().

File

./devel.module, line 1455

Code

function devel_queries_empty() {
  db_query('DELETE FROM {devel_queries}');
  db_query('DELETE FROM {devel_times}');
  drupal_set_message(t('Stored query statistics deleted.'));
  drupal_goto('devel/queries');
}