r69797 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69796‎ | r69797 | r69798 >
Date:15:58, 23 July 2010
Author:reedy
Status:ok
Tags:
Comment:
Resolve minor fixme from r69761
Modified paths:
  • /trunk/phase3/includes/api/ApiQuerySiteinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php
@@ -252,7 +252,7 @@
253253
254254 $this->addOption( 'ORDER BY', 'iw_prefix' );
255255
256 - $res = $this->select( __METHOD__ );
 256+ $res = $this->select( __METHOD__ );
257257
258258 $data = array();
259259 $langNames = Language::getLanguageNames();
@@ -262,7 +262,7 @@
263263 if ( $row->iw_local == '1' ) {
264264 $val['local'] = '';
265265 }
266 -// $val['trans'] = intval( $row->iw_trans ); // should this be exposed?
 266+ //$val['trans'] = intval( $row->iw_trans ); // should this be exposed?
267267 if ( isset( $langNames[$row->iw_prefix] ) ) {
268268 $val['language'] = $langNames[$row->iw_prefix];
269269 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69761Big blitz on unused variables (a lot of $db = $this->getDb() )reedy22:13, 22 July 2010

Status & tagging log