function uc_ups_update_7301 in Ubercart 7.3
Updates UPS Production URL.
File
- shipping/
uc_ups/ uc_ups.install, line 93 - Install, update and uninstall functions for the uc_ups module.
Code
function uc_ups_update_7301() {
$current = variable_get('uc_ups_connection_address', '');
// If currently using production URL, update variable to new value.
if ($current == 'https://www.ups.com/ups.app/xml/') {
variable_set('uc_ups_connection_address', 'https://onlinetools.ups.com/ups.app/xml/');
}
}