function uc_shipping_package_delete_confirm_submit in Ubercart 7.3
Same name and namespace in other branches
- 5 shipping/uc_shipping/uc_shipping.module \uc_shipping_package_delete_confirm_submit()
- 6.2 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 490 - 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';
}