You are here

function commerce_order_update_7103 in Commerce Core 7

Truncates the pre-calculated price table.

File

modules/order/commerce_order.install, line 371

Code

function commerce_order_update_7103() {
  db_truncate('commerce_calculated_price')
    ->execute();
  return t('The calculated price table has been cleared. If your site uses product sell price pre-calculation, you will need to recalculate these prices.');
}