dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
One more password bug fix, DisableCounters flag.
[lhc/web/wiklou.git]
/
includes
/
SiteStatsUpdate.php
diff --git
a/includes/SiteStatsUpdate.php
b/includes/SiteStatsUpdate.php
index
61ca846
..
3661dca
100644
(file)
--- a/
includes/SiteStatsUpdate.php
+++ b/
includes/SiteStatsUpdate.php
@@
-14,6
+14,9
@@
class SiteStatsUpdate {
function doUpdate()
{
+ global $wgDisableCounters;
+ if ( $wgDisableCounters ) { return; }
+
$a = array();
if ( $this->mViews < 0 ) { $m = "-1"; }