You are here

function answers_remove_extra_elements in Answers 6.2

Same name and namespace in other branches
  1. 7.3 includes/answers.search.inc \answers_remove_extra_elements()

Removes uneeded elements from the form defination

1 string reference to 'answers_remove_extra_elements'
answers_start_ask_form in includes/answers.search.inc
Ask question form.

File

includes/answers.search.inc, line 67
Search functions for the 'Answers' module

Code

function answers_remove_extra_elements($form) {
  unset($form['form_build_id'], $form['form_token'], $form['form_id']);
  return $form;
}