function devel_queries_empty in Devel 6
Same name and namespace in other branches
- 5 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 2094
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');
}