You are here

function uc_shipping_package_delete_confirm_submit in Ubercart 6.2

Same name and namespace in other branches
  1. 5 shipping/uc_shipping/uc_shipping.module \uc_shipping_package_delete_confirm_submit()
  2. 7.3 shipping/uc_shipping/uc_shipping.admin.inc \uc_shipping_package_delete_confirm_submit()

Submit handler for uc_shipping_package_delete_confirm().

See also

uc_shipping_package_delete_confirm()

File

shipping/uc_shipping/uc_shipping.admin.inc, line 411
Shipping administration menu items.

Code

function uc_shipping_package_delete_confirm_submit($form, &$form_state) {
  uc_shipping_package_delete($form_state['values']['package_id']);
  $form_state['redirect'] = 'admin/store/orders/' . $form_state['values']['order_id'] . '/packages';
}