function maillog_maillog_delete in Maillog / Mail Developer 7
Same name and namespace in other branches
- 6 maillog.module \maillog_maillog_delete()
Delete a specific maillog record.
Parameters
int $id: The primary ID for a maillog record.
Return value
DatabaseStatementInterface The response from db_query().
1 call to maillog_maillog_delete()
- maillog_maillog_delete_form_submit in ./
maillog.pages.inc - FormAPI confirmation callback for maillog_maillog_delete_form().
File
- ./
maillog.module, line 128 - Primary hook implementations for the Maillog module.
Code
function maillog_maillog_delete($id) {
return db_query("DELETE FROM {maillog} WHERE id = :id", array(
':id' => $id,
));
}