aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryLangLinks.php
diff options
context:
space:
mode:
authorSam Reed <reedy@users.mediawiki.org>2010-01-23 22:26:40 +0000
committerSam Reed <reedy@users.mediawiki.org>2010-01-23 22:26:40 +0000
commit47c24175d3125584517c76349503b4ecb74141a3 (patch)
tree6884e900425fdbf849552c71ab2ba6372bb06126 /includes/api/ApiQueryLangLinks.php
parent01e257cbd515bf3b43f9365e6611c784598ec113 (diff)
downloadmediawikicore-47c24175d3125584517c76349503b4ecb74141a3.tar.gz
mediawikicore-47c24175d3125584517c76349503b4ecb74141a3.zip
Add/remove whitelines to increase readability in API code files
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/61437
Diffstat (limited to 'includes/api/ApiQueryLangLinks.php')
-rw-r--r--includes/api/ApiQueryLangLinks.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/api/ApiQueryLangLinks.php b/includes/api/ApiQueryLangLinks.php
index 0e7c8b52b513..9180c00f4feb 100644
--- a/includes/api/ApiQueryLangLinks.php
+++ b/includes/api/ApiQueryLangLinks.php
@@ -63,6 +63,7 @@ class ApiQueryLangLinks extends ApiQueryBase {
"(ll_from = $llfrom AND " .
"ll_lang >= '$lllang')" );
}
+
# Don't order by ll_from if it's constant in the WHERE clause
if ( count( $this->getPageSet()->getGoodTitles() ) == 1 )
$this->addOption( 'ORDER BY', 'll_lang' );