You are here

function commerce_invoice_email_disable in Commerce Invoice 7

Implements hook_disable().

File

modules/email/commerce_invoice_email.install, line 17

Code

function commerce_invoice_email_disable() {

  // Activate default commerce rules to send invoice email
  $rules_config = rules_config_load('commerce_invoice_email');
  $rules_config->active = TRUE;
  $rules_config
    ->save();
}