function devel_debug_log_clear_log_submit in Devel Debug Log 7
Submit callback: clear database with log messages.
1 string reference to 'devel_debug_log_clear_log_submit'
- devel_debug_log_clear_log_form in ./
devel_debug_log.module - Return form for dblog clear button.
File
- ./
devel_debug_log.module, line 144 - Creates a page that shows debug messages.
Code
function devel_debug_log_clear_log_submit() {
db_delete('devel_debug_log')
->execute();
drupal_set_message(t('Database debug log cleared.'));
}