summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-30 18:50:35 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-30 18:50:35 +0000
commit5dc27bcb93db939584576194414e33d330cb7b38 (patch)
treec1a732fc3159bd2fdc75e3af8b04b80e14a5e3dd /includes/form.inc
parent6462b1397a51d9c36c2950d33bd41e0577627220 (diff)
downloadbrdo-5dc27bcb93db939584576194414e33d330cb7b38.tar.gz
brdo-5dc27bcb93db939584576194414e33d330cb7b38.tar.bz2
- Patch #80860 by eaton et al: use form API multistep for poll.module
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);
}