summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2017-12-01 08:00:18 (GMT)
committerxjm2017-12-01 08:00:18 (GMT)
commit42634ef62dfd05b48d2bbabf0541513cfc507817 (patch)
treeacf7ab1b2db90d204dc6ddf0c5e0447099d092cf
parent27253f7214dcccae0bce11bd48113f795613d912 (diff)
Issue #2927520 by marcoscano: Fix wrong documentation in comment module
-rw-r--r--core/modules/comment/src/Plugin/views/sort/Thread.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/comment/src/Plugin/views/sort/Thread.php b/core/modules/comment/src/Plugin/views/sort/Thread.php
index 44fba29..353d799 100644
--- a/core/modules/comment/src/Plugin/views/sort/Thread.php
+++ b/core/modules/comment/src/Plugin/views/sort/Thread.php
@@ -16,8 +16,8 @@ class Thread extends SortPluginBase {
public function query() {
$this->ensureMyTable();
- // Read comment_render() in comment.module for an explanation of the
- // thinking behind this sort.
+ // See \Drupal\comment\CommentStorage::loadThread() for an explanation of
+ // the thinking behind this sort.
if ($this->options['order'] == 'DESC') {
$this->query->addOrderBy($this->tableAlias, $this->realField, $this->options['order']);
}