You are here

function commerce_email_admin_order_remove in Commerce Email 7

Removes the admin order email

1 call to commerce_email_admin_order_remove()
commerce_email_list_languages in ./commerce_email.module
Returns a list of emails in all languages and automatically adds a version for each enabled language

File

./commerce_email.module, line 308
Defines additional menu item and order html email functonality.

Code

function commerce_email_admin_order_remove() {
  $deleted = db_delete('commerce_email')
    ->condition('type', 'admin_order')
    ->execute();
}