function uc_stock_action_increment_stock in Ubercart 6.2
Same name and namespace in other branches
- 7.3 uc_stock/uc_stock.rules.inc \uc_stock_action_increment_stock()
Increase the stock of ordered products.
2 string references to 'uc_stock_action_increment_stock'
- uc_stock_ca_action in uc_stock/
uc_stock.ca.inc - Implements hook_action().
- uc_stock_ca_predicate in uc_stock/
uc_stock.ca.inc - Implements hook_ca_predicate().
File
- uc_stock/
uc_stock.ca.inc, line 225 - This file contains all the Workflow-NG hooks that are necessary for Workflow integeration with the uc_stock module
Code
function uc_stock_action_increment_stock($order, $settings) {
if (is_array($order->products)) {
array_walk($order->products, 'uc_stock_increment_product_stock', $order);
}
}