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