From 42634ef62dfd05b48d2bbabf0541513cfc507817 Mon Sep 17 00:00:00 2001 From: xjm Date: Fri, 1 Dec 2017 02:00:18 -0600 Subject: [PATCH] Issue #2927520 by marcoscano: Fix wrong documentation in comment module --- core/modules/comment/src/Plugin/views/sort/Thread.php | 4 ++-- 1 file 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 44fba2989c3..353d7991109 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']); }