You are here

function commerce_payment_methods_reset in Commerce Core 7

Resets the cached list of payment methods.

1 call to commerce_payment_methods_reset()
commerce_payment_modules_enabled in modules/payment/commerce_payment.module
Implements hook_modules_enabled().

File

modules/payment/commerce_payment.module, line 595
Defines the payment system and checkout integration.

Code

function commerce_payment_methods_reset() {
  $payment_methods =& drupal_static('commerce_payment_methods');
  $payment_methods = NULL;
  entity_info_cache_clear();
}