summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 40ab647ce..d5607d957 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -99,11 +99,6 @@ function drupal_get_form($form_id) {
$_SESSION['form'][$form_build_id] = $args;
$form['#build_id'] = $form_build_id;
}
- // If we're in this part of the code, $_POST always contains
- // values from the previously submitted form. Unset it to avoid
- // any accidental submission of doubled data, then process the form
- // to prep it for rendering.
- unset($_POST);
drupal_process_form($args[0], $form);
}