Commit 510bb1a4 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#93425 by bjaspan: remove pre-Drupal 4.6 era destination handling cruft...

#93425 by bjaspan: remove pre-Drupal 4.6 era destination handling cruft carried over in comment module
parent 6af0c30d
......@@ -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']);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment