You are here

function workbench_email_delete_all in Workbench Email 7.3

Same name and namespace in other branches
  1. 7 workbench_email.module \workbench_email_delete_all()

Deletes all emails from the table.

Return value

db_delete Returns TRUE or FALSE.

File

./workbench_email.module, line 529
Code for the Workbench Email Module.

Code

function workbench_email_delete_all() {
  db_delete('workbench_emails')
    ->execute();
}