You are here

function workbench_email_delete_all in Workbench Email 7

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

Deletes all emails from the table

Return value

db_delete Returns TRUE or FALSE

1 call to workbench_email_delete_all()
workbench_email_features_rebuild in ./workbench_email.features.inc
Implements COMPONENT_features_rebuild().

File

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

Code

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