From: Brion Vibber Date: Sun, 25 May 2003 05:46:51 +0000 (+0000) Subject: Don't disable site stats when page counters are disabled; this breaks article page... X-Git-Tag: 1.1.0~517 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=59e00f27593ceb6fefa39e877f39f27826a3bbe4;p=lhc%2Fweb%2Fwiklou.git Don't disable site stats when page counters are disabled; this breaks article page count etc --- diff --git a/includes/SiteStatsUpdate.php b/includes/SiteStatsUpdate.php index 3661dca4f6..61ca8464c3 100644 --- a/includes/SiteStatsUpdate.php +++ b/includes/SiteStatsUpdate.php @@ -14,9 +14,6 @@ class SiteStatsUpdate { function doUpdate() { - global $wgDisableCounters; - if ( $wgDisableCounters ) { return; } - $a = array(); if ( $this->mViews < 0 ) { $m = "-1"; }