Remove 'maintainer' from version rating fields

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-12-28 22:57:02 +01:00
committed by Chris Morgan
parent e8bfc0024c
commit 2c2c6fffc1
4 changed files with 14 additions and 14 deletions

View File

@@ -450,7 +450,7 @@ class Application {
{
$sQuery = "SELECT DISTINCT count(appId) as total
FROM appVersion
WHERE maintainer_rating = '?'
WHERE rating = '?'
AND state = 'accepted'";
if($hResult = query_parameters($sQuery, $sRating))
@@ -465,7 +465,7 @@ class Application {
$aApps = array();
$sQuery = "SELECT DISTINCT appId
FROM appVersion
WHERE maintainer_rating = '?'
WHERE rating = '?'
AND state = 'accepted'
ORDER BY appId ASC LIMIT ?, ?";