You are here

function uc_paypal_update_7300 in Ubercart 7.3

Fix incorrect order state configuration.

File

payment/uc_paypal/uc_paypal.install, line 190
Install, update and uninstall functions for the uc_paypal module.

Code

function uc_paypal_update_7300() {
  db_update('uc_order_statuses')
    ->fields(array(
    'state' => 'post_checkout',
  ))
    ->condition('order_status_id', 'paypal_pending')
    ->execute();
}