Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwclouser@mozilla.com <wclouser@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2009-03-16 02:05:54 (GMT)
committer wclouser@mozilla.com <wclouser@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2009-03-16 02:05:54 (GMT)
commit086cc81088f63bdeaffeaea741df8bb8ba7df4a1 (patch)
tree22e51a7699fe012d2e82eccf77608fc601424d33
parentba4be8461e02411bd278f3ffbfcbd6570e430b5a (diff)
Fix a broken call in maintenance. mysql_affected_rows() doesn't expect a boolean
git-svn-id: http://svn.mozilla.org/addons/trunk@23341 4eb1ac78-321c-0410-a911-ec516a8615a5
-rwxr-xr-xbin/maintenance.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/maintenance.php b/bin/maintenance.php
index 7c5e1ea..8269fe8 100755
--- a/bin/maintenance.php
+++ b/bin/maintenance.php
@@ -349,7 +349,7 @@ switch ($action) {
";
$rating_result = $db->query($rating_sql);
- $affected_rows = mysql_affected_rows($rating_result);
+ $affected_rows = mysql_affected_rows();
break;