From 482f4eb0558899757509d6673c8d252f0d730065 Mon Sep 17 00:00:00 2001 From: webchick Date: Tue, 29 Oct 2013 15:02:13 -0700 Subject: [PATCH] Issue #2114069 follow-up by andypost: Remove unused code. --- .../comment/lib/Drupal/comment/CommentFormController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/modules/comment/lib/Drupal/comment/CommentFormController.php b/core/modules/comment/lib/Drupal/comment/CommentFormController.php index fed1b60ed8..b52ec6deaa 100644 --- a/core/modules/comment/lib/Drupal/comment/CommentFormController.php +++ b/core/modules/comment/lib/Drupal/comment/CommentFormController.php @@ -115,9 +115,6 @@ public function form(array $form, array &$form_state) { '%title' => $comment->subject->value, )); } - else { - $form['#title'] = $this->t('Preview comment'); - } } else { if ($this->currentUser->isAuthenticated()) { -- GitLab