function devel_mail_logger_delete_mails in Devel Mail Logger 7
Delete mails which were logged.
_state
Parameters
$form:
1 string reference to 'devel_mail_logger_delete_mails'
- devel_mail_logger_list in ./
devel_mail_logger.admin.inc - List all mails logged.
File
- ./
devel_mail_logger.admin.inc, line 73
Code
function devel_mail_logger_delete_mails($form, &$form_state) {
$result = db_truncate('devel_mail_logger')
->execute();
$form_state['redirect'] = 'admin/reports/devel_mail_logger';
}