1 May 2011 01:18
SVN: [87178] trunk/phase3/includes
<reedy <at> svn.wikimedia.org>
2011-04-30 23:18:35 GMT
2011-04-30 23:18:35 GMT
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/87178 Revision: 87178 Author: reedy Date: 2011-04-30 23:18:34 +0000 (Sat, 30 Apr 2011) Log Message: ----------- Followup r85884 Fixup the APIs strange way of doing table aliases on a join.... Only used in very few places Modified Paths: -------------- trunk/phase3/includes/api/ApiQueryAllUsers.php trunk/phase3/includes/api/ApiQueryBase.php trunk/phase3/includes/api/ApiQueryWatchlist.php trunk/phase3/includes/db/Database.php Modified: trunk/phase3/includes/api/ApiQueryAllUsers.php =================================================================== --- trunk/phase3/includes/api/ApiQueryAllUsers.php 2011-04-30 22:12:51 UTC (rev 87177) +++ trunk/phase3/includes/api/ApiQueryAllUsers.php 2011-04-30 23:18:34 UTC (rev 87178) <at> <at> -89,8 +89,7 <at> <at> $useIndex = false; // Filter only users that belong to a given group $this->addTables( 'user_groups', 'ug1' ); - $ug1 = $this->getAliasedName( 'user_groups', 'ug1' ); - $this->addJoinConds( array( $ug1 => array( 'INNER JOIN', array( 'ug1.ug_user=user_id',(Continue reading)
RSS Feed