You are here

function commerce_invoice_receipt_update_7021 in Commerce Invoice Receipt 7.2

Remove old variables stored as admin settings.

File

./commerce_invoice_receipt.install, line 32
Commerce Invoice Receipt - Installation file.

Code

function commerce_invoice_receipt_update_7021(&$sandbox) {
  variable_del('commerce_invoice_send_from');
  variable_del('commerce_invoice_copy_all_user');
  variable_del('commerce_invoice_copy_all_user_method');
  return t('Old variables removed successfully.');
}