https://www.mediawiki.org/wiki/Special:Code/MediaWiki/110089
Revision: 110089 Author: demon Date: 2012-01-26 22:05:48 +0000 (Thu, 26 Jan 2012) Log Message: ----------- Fix only extension using ss_admins Modified Paths: -------------- trunk/extensions/UserMerge/UserMerge_body.php Modified: trunk/extensions/UserMerge/UserMerge_body.php =================================================================== --- trunk/extensions/UserMerge/UserMerge_body.php 2012-01-26 22:04:55 UTC (rev 110088) +++ trunk/extensions/UserMerge/UserMerge_body.php 2012-01-26 22:05:48 UTC (rev 110089) @@ -192,9 +192,8 @@ wfRunHooks( 'DeleteAccount', array( &$objOldUser ) ); $users = $dbw->selectField( 'user', 'COUNT(*)', array() ); - $admins = $dbw->selectField( 'user_groups', 'COUNT(*)', array( 'ug_group' => 'sysop' ) ); $dbw->update( 'site_stats', - array( 'ss_users' => $users, 'ss_admins' => $admins ), + array( 'ss_users' => $users ), array( 'ss_row_id' => 1 ) ); return true; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs