Skip to content
Snippets Groups Projects
Commit 131ea0f6 authored by Tim Plunkett's avatar Tim Plunkett
Browse files

Issue #1757302 by tim.plunkett: Clean up the NcsLastCommentName sort handler.

parent 41a6f641
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* @ingroup views_sort_handlers * @ingroup views_sort_handlers
* *
* @Plugin( * @Plugin(
* id = "ncs_last_comment_name", * id = "comment_ncs_last_comment_name",
* module = "comment" * module = "comment"
* ) * )
*/ */
...@@ -25,7 +25,6 @@ class NcsLastCommentName extends SortPluginBase { ...@@ -25,7 +25,6 @@ class NcsLastCommentName extends SortPluginBase {
function query() { function query() {
$this->ensure_my_table(); $this->ensure_my_table();
$join = new Join();
$join = views_get_join(); $join = views_get_join();
$join->construct('users', $this->table_alias, 'last_comment_uid', 'uid'); $join->construct('users', $this->table_alias, 'last_comment_uid', 'uid');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment