You are here

function commerce_stripe_uninstall in Commerce Stripe 7.2

Same name and namespace in other branches
  1. 7.3 commerce_stripe.install \commerce_stripe_uninstall()
  2. 7 commerce_stripe.install \commerce_stripe_uninstall()

Implements hook_uninstall().

File

./commerce_stripe.install, line 53
Contains requirements function for Commerce Stripe.

Code

function commerce_stripe_uninstall() {

  // Uninstall rules configuration.
  $config = rules_config_load('commerce_payment_commerce_stripe');
  if ($config) {
    rules_config_delete(array(
      $config->id,
    ));
  }
}