diff options
Diffstat (limited to 'core/RankingQuery.php')
-rw-r--r-- | core/RankingQuery.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/RankingQuery.php b/core/RankingQuery.php index f44845f075..cd4f830669 100644 --- a/core/RankingQuery.php +++ b/core/RankingQuery.php @@ -214,7 +214,7 @@ class RankingQuery */ public function execute($innerQuery, $bind = array()) { - $query = $this->generateQuery($innerQuery); + $query = $this->generateRankingQuery($innerQuery); $data = Db::fetchAll($query, $bind); if ($this->columnToMarkExcludedRows !== false) { @@ -268,7 +268,7 @@ class RankingQuery * itself. * @return string The entire ranking query SQL. */ - public function generateQuery($innerQuery) + public function generateRankingQuery($innerQuery) { // +1 to include "Others" $limit = $this->limit + 1; |