You are here

function node_limit_delete_form_submit in Node Limit 8

Same name and namespace in other branches
  1. 6 node_limit.module \node_limit_delete_form_submit()
  2. 7 node_limit.module \node_limit_delete_form_submit()

Submission hook for node limit deletion.

File

old/node_limit.module, line 584

Code

function node_limit_delete_form_submit($form_id, &$form_state) {
  $lid = $form_state['values']['lid'];
  node_limit_delete($lid);
  $form_state['redirect'] = 'admin/structure/node_limit';
}