diff options
author | wclouser@mozilla.com <wclouser@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2009-08-11 19:57:04 (GMT) |
---|---|---|
committer | wclouser@mozilla.com <wclouser@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2009-08-11 19:57:04 (GMT) |
commit | 8c2599658400524764f7f3655b7a75af96346b9a (patch) | |
tree | 945a1a256f0b7705b0d7f3a165d792f8d663d93c /bin/maintenance.php | |
parent | e0d85a7b30bd956a643b1f3ccb1d7ad282791970 (diff) |
s/tags/categories/ where appropriate; bug 509753
git-svn-id: http://svn.mozilla.org/addons/trunk@48964 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'bin/maintenance.php')
-rwxr-xr-x | bin/maintenance.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/maintenance.php b/bin/maintenance.php index 5ff593d..ce19970 100755 --- a/bin/maintenance.php +++ b/bin/maintenance.php @@ -531,17 +531,17 @@ switch ($action) { /** - * Update tag counts for sidebar navigation + * Update category counts for sidebar navigation */ - case 'tag_totals': - echo "Starting tag counts update...\n"; + case 'category_totals': + echo "Starting category counts update...\n"; // HACK: Wish I had $valid_status from constants.php $valid_status = join(',', array(1, 2, 3, 4)); // Modified query inspired by countAddonsInAllCategories() // in site/app/models/addon.php $tag_counts_sql = " UPDATE - tags AS t + categories AS t INNER JOIN ( SELECT at.category_id, |