From fb97d5615764ffbd80fdd185af1b5fea351bd95d Mon Sep 17 00:00:00 2001 From: Darko Date: Thu, 13 Aug 2015 11:06:45 +0200 Subject: [PATCH] Remove unnecessary group by and order by. --- newznab/controllers/Sharing.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/newznab/controllers/Sharing.php b/newznab/controllers/Sharing.php index 21c7a02d7..40c90cbbe 100644 --- a/newznab/controllers/Sharing.php +++ b/newznab/controllers/Sharing.php @@ -329,8 +329,6 @@ Class Sharing INNER JOIN release_comments rc ON rc.siteid = ss.site_guid SET ss.first_time = rc.createddate WHERE rc.createddate > '2005-01-01' - GROUP BY rc.siteid - ORDER BY rc.createddate ASC " ) );