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 202516960..f8341cc5b 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -1964,7 +1964,6 @@ function theme_image_button($element) {
*
* @param $element
* An associative array containing the properties of the element.
- * Properties used: value, edit
* @return
* A themed HTML string representing the hidden form field.
*
@@ -2481,10 +2480,6 @@ function batch_process($redirect = NULL, $url = NULL) {
$batch['destination'] = $_REQUEST['destination'];
unset($_REQUEST['destination']);
}
- elseif (isset($_REQUEST['edit']['destination'])) {
- $batch['destination'] = $_REQUEST['edit']['destination'];
- unset($_REQUEST['edit']['destination']);
- }
// Initiate db storage in order to get a batch id. We have to provide
// at least an empty string for the (not null) 'token' column.