From db5bbadb7b2b062cbe9e5e1071272d55f5f019e1 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 8 Feb 2018 14:50:53 +0100 Subject: [PATCH] Remove unused $rtvalues variable --- misc/sphinxsearch/populate_rt_indexes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/sphinxsearch/populate_rt_indexes.php b/misc/sphinxsearch/populate_rt_indexes.php index 6bf1a8729..27d383e9f 100644 --- a/misc/sphinxsearch/populate_rt_indexes.php +++ b/misc/sphinxsearch/populate_rt_indexes.php @@ -32,7 +32,7 @@ function populate_rt($table, $max) GROUP BY r.id ORDER BY r.id ASC LIMIT %d'; - $rtvalues = '(id, name, searchname, fromname, filename)'; + $totals = Release::query()->selectRaw('COUNT(id) AS c, MIN(id) AS min')->first(); if (! $totals) { exit("Could not get database information for releases table.\n");