From 131ea0f6ab52892431f99862b094d19369630a1e Mon Sep 17 00:00:00 2001 From: Tim Plunkett Date: Mon, 27 Aug 2012 14:23:56 +0200 Subject: [PATCH] Issue #1757302 by tim.plunkett: Clean up the NcsLastCommentName sort handler. --- lib/Views/comment/Plugin/views/sort/NcsLastCommentName.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Views/comment/Plugin/views/sort/NcsLastCommentName.php b/lib/Views/comment/Plugin/views/sort/NcsLastCommentName.php index 3ca454ffb8a8..a60753636b2d 100644 --- a/lib/Views/comment/Plugin/views/sort/NcsLastCommentName.php +++ b/lib/Views/comment/Plugin/views/sort/NcsLastCommentName.php @@ -17,7 +17,7 @@ use Drupal\Core\Annotation\Plugin; * @ingroup views_sort_handlers * * @Plugin( - * id = "ncs_last_comment_name", + * id = "comment_ncs_last_comment_name", * module = "comment" * ) */ @@ -25,7 +25,6 @@ class NcsLastCommentName extends SortPluginBase { function query() { $this->ensure_my_table(); - $join = new Join(); $join = views_get_join(); $join->construct('users', $this->table_alias, 'last_comment_uid', 'uid');