From 409390637ecc029e27988c6da63a72a49dff7949 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 7 Sep 2011 06:49:13 -0400
Subject: [PATCH] - Patch #1097958 by Devin Carlson, dixon_: change class
 comment_forbidden() to comment-forbidden.

---
 modules/comment/comment.module | 8 ++++----
 themes/bartik/css/print.css    | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 8e0c7d930394..37a208f6e97d 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -655,7 +655,7 @@ function comment_node_view($node, $view_mode) {
           );
         }
         else {
-          $links['comment_forbidden'] = array(
+          $links['comment-forbidden'] = array(
             'title' => theme('comment_post_forbidden', array('node' => $node)),
             'html' => TRUE,
           );
@@ -685,7 +685,7 @@ function comment_node_view($node, $view_mode) {
           }
         }
         else {
-          $links['comment_forbidden'] = array(
+          $links['comment-forbidden'] = array(
             'title' => theme('comment_post_forbidden', array('node' => $node)),
             'html' => TRUE,
           );
@@ -1066,8 +1066,8 @@ function comment_links($comment, $node) {
       );
     }
     else {
-      $links['comment_forbidden']['title'] = theme('comment_post_forbidden', array('node' => $node));
-      $links['comment_forbidden']['html'] = TRUE;
+      $links['comment-forbidden']['title'] = theme('comment_post_forbidden', array('node' => $node));
+      $links['comment-forbidden']['html'] = TRUE;
     }
   }
   return $links;
diff --git a/themes/bartik/css/print.css b/themes/bartik/css/print.css
index 61ca3fa7d333..fbe386a43cc8 100644
--- a/themes/bartik/css/print.css
+++ b/themes/bartik/css/print.css
@@ -41,6 +41,6 @@ body {
 
 #comments .title,
 #comments form,
-.comment_forbidden {
+.comment-forbidden {
   display: none;
 }
-- 
GitLab