Index: trunk/phase3/includes/SiteStats.php |
— | — | @@ -101,7 +101,7 @@ |
102 | 102 | static function admins() { |
103 | 103 | if ( !isset( self::$admins ) ) { |
104 | 104 | $dbr = wfGetDB( DB_SLAVE ); |
105 | | - self::$admins = $dbr->selectField( 'user_groups', 'COUNT(*)', array( 'ug_group' => 'sysop' ), __METHOD__ ); |
| 105 | + self::$admins = $dbr->selectField( 'user_groups', 'COUNT(ug_group)', array( 'ug_group' => 'sysop' ), __METHOD__ ); |
106 | 106 | } |
107 | 107 | return self::$admins; |
108 | 108 | } |