r80686 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80685‎ | r80686 | r80687 >
Date:15:04, 21 January 2011
Author:happydog
Status:ok
Tags:
Comment:
Alphabetical in order putting things.
Modified paths:
  • /trunk/extensions/CodeReview/backend/CodeRepository.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/backend/CodeRepository.php
@@ -90,7 +90,8 @@
9191
9292 static function getRepoList() {
9393 $dbr = wfGetDB( DB_SLAVE );
94 - $res = $dbr->select( 'code_repo', '*', array(), __METHOD__ );
 94+ $options = array( 'ORDER BY' => 'repo_name' );
 95+ $res = $dbr->select( 'code_repo', '*', array(), __METHOD__, $options );
9596 $repos = array();
9697 foreach ( $res as $row ) {
9798 $repos[] = self::newFromRow( $row );

Status & tagging log