summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment/comment.module4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index de1544057..7c67a955d 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1329,10 +1329,6 @@ function comment_form(&$form_state, $edit, $title = NULL) {
$form['#after_build'] = array('comment_form_add_preview');
}
- if (!empty($_REQUEST['destination'])) {
- $form['#attributes']['destination'] = $_REQUEST['destination'];
- }
-
if (empty($edit['cid']) && empty($edit['pid'])) {
$form['#action'] = url('comment/reply/'. $edit['nid']);
}