You are here

function uc_usps_update_7300 in Ubercart 7.3

Separates markup variables into rate_markup and weight_markup.

File

shipping/uc_usps/uc_usps.install, line 77
Install, update and uninstall functions for the uc_usps module.

Code

function uc_usps_update_7300() {

  // Rename variables while preserving previous setting values
  variable_set('uc_usps_rate_markup', variable_get('uc_usps_markup', ''));
  variable_set('uc_usps_rate_markup_type', variable_get('uc_usps_markup_type', ''));

  // Remove old variables
  variable_del('uc_usps_markup');
  variable_del('uc_usps_markup_type');
}