Whoops, reversed inequality. Forgot to check whether this is being run *too* often.
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 16 Jul 2007 20:01:54 +0000 (20:01 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 16 Jul 2007 20:01:54 +0000 (20:01 +0000)
includes/SiteStats.php

index 086e2b6..cbb075a 100644 (file)
@@ -118,9 +118,9 @@ class SiteStats {
        private static function isSane( $row ) {
                if(
                        $row === false
-                       or $row->ss_good_articles < $row->ss_total_pages
-                       or $row->ss_total_edits   < $row->ss_total_pages
-                       or $row->ss_users         < $row->ss_admins
+                       or $row->ss_total_pages < $row->ss_good_articles
+                       or $row->ss_total_edits < $row->ss_total_pages
+                       or $row->ss_users       < $row->ss_admins
                ) {
                        return false;
                }