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

8.0.x
Tim Plunkett 2012-08-27 14:23:56 +02:00
parent 41a6f641d1
commit 131ea0f6ab
1 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,7 @@ use Drupal\Core\Annotation\Plugin;
* @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 {
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');