Minor followup to r63425 and r63428
authorSam Reed <reedy@users.mediawiki.org>
Tue, 9 Mar 2010 11:52:43 +0000 (11:52 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 9 Mar 2010 11:52:43 +0000 (11:52 +0000)
commitdc4786f86cabc5dd0912c66f84c6a05b9a1b88c3
tree03349f2672c92a1a536c83e35d6541e66e7e0063
parent92ed21f0ab30611e49168cd5a2619d26474b35fb
Minor followup to r63425 and r63428

Set $oldLang to null, and only reset if !is_null( $oldLang )

Also, only change language on ApiQueryAllmessages if wanted language != current language
includes/api/ApiParse.php
includes/api/ApiQueryAllmessages.php