dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4105137
)
Fix admin count to not include bots
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 20 May 2003 01:08:48 +0000
(
01:08
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 20 May 2003 01:08:48 +0000
(
01:08
+0000)
includes/SpecialStatistics.php
patch
|
blob
|
history
diff --git
a/includes/SpecialStatistics.php
b/includes/SpecialStatistics.php
index
cbbbb64
..
8c4335f
100644
(file)
--- a/
includes/SpecialStatistics.php
+++ b/
includes/SpecialStatistics.php
@@
-36,7
+36,7
@@
function wfSpecialStatistics()
$total = $row->total;
$sql = "SELECT COUNT(user_id) AS total FROM user " .
- "WHERE user_rights
<> '
'";
+ "WHERE user_rights
LIKE '%sysop%
'";
$res = wfQuery( $sql, $fname );
$row = wfFetchObject( $res );
$admins = $row->total;