summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module10
1 files changed, 3 insertions, 7 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 2d97e0ed2..0f820489c 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -976,13 +976,9 @@ function comment_render($node, $cid = 0) {
$query .= ' ORDER BY c.cid';
}
else {
-
- /*
- ** See comment above. Analysis learns that this doesn't cost
- ** too much. It scales much much better than having the whole
- ** comment structure.
- */
-
+ // See comment above. Analysis reveals that this doesn't cost too
+ // much. It scales much much better than having the whole comment
+ // structure.
$query .= ' ORDER BY SUBSTRING(c.thread, 1, (LENGTH(c.thread) - 1))';
}
}