You are here

function commerce_order_rules_update_status in Commerce Core 7

Rules action: updates an order's status using the Order API.

1 string reference to 'commerce_order_rules_update_status'
commerce_order_rules_action_info in modules/order/commerce_order.rules.inc
Implements hook_rules_action_info().

File

modules/order/commerce_order.rules.inc, line 513
Rules integration for orders.

Code

function commerce_order_rules_update_status($order, $name) {
  commerce_order_status_update($order, $name, FALSE, NULL, t('Order status updated via Rules.'));
}