You are here

function node_limit_delete_form_submit in Node Limit 6

Same name and namespace in other branches
  1. 8 old/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

./node_limit.module, line 454
Module to restrict the number of nodes a user or role may create.

Code

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