diff options
author | fwenzel@mozilla.com <fwenzel@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2008-04-28 15:42:49 (GMT) |
---|---|---|
committer | fwenzel@mozilla.com <fwenzel@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2008-04-28 15:42:49 (GMT) |
commit | f92ffa4d51f134a32ff83325e8f29112dee5d898 (patch) | |
tree | 1aef0d20cb8aeafb7eca9c128bbddf9ac20858ca /bin | |
parent | 7e0f7061f7b1535a5f87d05085abb1e6ad676cbe (diff) |
count reviews without ratings, too (bug 429139, r=morgamic)
git-svn-id: http://svn.mozilla.org/addons/trunk@12593 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/maintenance.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/maintenance.php b/bin/maintenance.php index b0409b5..3110d7e 100755 --- a/bin/maintenance.php +++ b/bin/maintenance.php @@ -281,8 +281,7 @@ switch ($action) { FROM reviews INNER JOIN versions ON reviews.version_id = versions.id INNER JOIN files ON files.status IN ({$statuses}) AND files.version_id = versions.id - WHERE reviews.rating IS NOT NULL - AND reviews.reply_to IS NULL + WHERE reviews.reply_to IS NULL AND reviews.editorreview = 0 GROUP BY versions.addon_id "; |