function answers_remove_extra_elements in Answers 7.3
Same name and namespace in other branches
- 6.2 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 75 - 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;
}