### Eclipse Workspace Patch 1.0
#P drupal_test_7
Index: themes/garland/comment.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/comment.tpl.php,v
retrieving revision 1.13
diff -u -r1.13 comment.tpl.php
--- themes/garland/comment.tpl.php 28 May 2009 16:44:07 -0000 1.13
+++ themes/garland/comment.tpl.php 27 Jul 2009 21:46:05 -0000
@@ -8,7 +8,7 @@
- new) : ?>
+
@@ -17,7 +17,7 @@
-
-
-
+
Index: themes/garland/template.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/template.php,v
retrieving revision 1.22
diff -u -r1.22 template.php
--- themes/garland/template.php 2 Jun 2009 03:57:22 -0000 1.22
+++ themes/garland/template.php 27 Jul 2009 21:46:05 -0000
@@ -15,18 +15,6 @@
}
/**
- * Allow themable wrapping of all comments.
- */
-function garland_comment_wrapper($content, $node) {
- if (!$content || $node->type == 'forum') {
- return '';
- }
- else {
- return '';
- }
-}
-
-/**
* Override or insert variables into the page template.
*/
function garland_preprocess_page(&$vars) {
Index: modules/comment/comment.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v
retrieving revision 1.37
diff -u -r1.37 comment.test
--- modules/comment/comment.test 20 Jul 2009 18:51:32 -0000 1.37
+++ modules/comment/comment.test 27 Jul 2009 21:46:05 -0000
@@ -76,7 +76,7 @@
$regex .= 'subject . '(.*?)'; // Match subject.
$regex .= $comment->comment . '(.*?)'; // Match comment.
- $regex .= '<\/div>/s'; // Dot matches newlines and ensure that match doesn't bleed outside comment div.
+ $regex .= '/s';
return (boolean)preg_match($regex, $this->drupalGetContent());
}
@@ -446,7 +446,7 @@
// "Login or register to post comments" type link may be shown.
$this->drupalLogout();
$this->drupalGet('node/' . $this->node->nid);
- $this->assertNoRaw('