One more password bug fix, DisableCounters flag.
[lhc/web/wiklou.git] / includes / SiteStatsUpdate.php
index 61ca846..3661dca 100644 (file)
@@ -14,6 +14,9 @@ class SiteStatsUpdate {
 
        function doUpdate()
        {
+               global $wgDisableCounters;
+               if ( $wgDisableCounters ) { return; }
+
                $a = array();
 
                if ( $this->mViews < 0 ) { $m = "-1"; }