You are here

function uc_cart_empty_confirm_submit in Ubercart 7.3

Submission handler to empty the cart after confirmations.

File

uc_cart/uc_cart.pages.inc, line 60
Cart menu items.

Code

function uc_cart_empty_confirm_submit($form, &$form_state) {
  uc_cart_empty();
  $form_state['redirect'] = 'cart';
}