summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-04 15:15:47 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-04 15:15:47 +0000
commit510bb1a42f72223cd3dcd7dffa14891c449beca2 (patch)
treea73163ba89c0ead61d2c50653ef8d47c887d8b18
parent6af0c30d14cc8a49cbea003b0a9d4502560a1cc4 (diff)
downloadbrdo-510bb1a42f72223cd3dcd7dffa14891c449beca2.tar.gz
brdo-510bb1a42f72223cd3dcd7dffa14891c449beca2.tar.bz2
#93425 by bjaspan: remove pre-Drupal 4.6 era destination handling cruft carried over in comment module
-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']);
}