You are here

function uc_recurring_admin_delete_form_submit in UC Recurring Payments and Subscriptions 6

File

./uc_recurring.admin.inc, line 230
Recurring payments administration menu items.

Code

function uc_recurring_admin_delete_form_submit($form, &$form_state) {
  uc_recurring_fee_delete(array(
    'pfid' => arg(4),
  ), 'user');
  drupal_set_message(t('Recurring fee @fee deleted.', array(
    '@fee' => arg(4),
  )));
  $form_state['redirect'] = 'admin/store/orders/recurring';
}