From 510bb1a42f72223cd3dcd7dffa14891c449beca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 4 Nov 2007 15:15:47 +0000 Subject: #93425 by bjaspan: remove pre-Drupal 4.6 era destination handling cruft carried over in comment module --- modules/comment/comment.module | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/comment/comment.module') 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']); } -- cgit v1.2.3