r65299 c5894 followup
authorSam Reed <reedy@users.mediawiki.org>
Fri, 19 Feb 2010 19:44:28 +0000 (19:44 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 19 Feb 2010 19:44:28 +0000 (19:44 +0000)
commit72582d7f4cc857899b674a3f45232d8c8528e17c
tree0068953cab46bf64eb70471934ea1fea7d71ab9a
parent7e62f0d3f3094e8cbb2727e709e830080072c034
r65299 c5894 followup

Move isset check of gettoken upto level of $salt !== false. If gettoken is set, the module isn't going to do anything else (and therefore no point seeing if there is a token set, let alone attempting to validate it)
includes/api/ApiMain.php