function commerce_order_states_reset in Commerce Core 7
Resets the cached list of order states.
1 call to commerce_order_states_reset()
- commerce_order_modules_enabled in modules/
order/ commerce_order.module - Implements hook_modules_enabled().
File
- modules/
order/ commerce_order.module, line 1026 - Defines the core Commerce order entity and API functions to manage orders and interact with them.
Code
function commerce_order_states_reset() {
$order_states =& drupal_static('commerce_order_states');
$order_states = NULL;
}