Followup r89528, don't use $wgRequest use $this->getMain()->getRequest()->response...
authorSam Reed <reedy@users.mediawiki.org>
Sun, 5 Jun 2011 20:29:47 +0000 (20:29 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 5 Jun 2011 20:29:47 +0000 (20:29 +0000)
commitfe332e78ac026f26793e528bbe32aa310d6ab364
tree74562a50766c6e2883ee3fe23b17f50d813027b6
parent8b12b2590273bcf0d22df23afcdcb4d581c218ba
Followup r89528, don't use $wgRequest use $this->getMain()->getRequest()->response()/$this->getRequest()->response() (the latter when we're already in main!)

Also fix up a couple of calls to getMain() when we're already in a main class!?
includes/api/ApiFormatBase.php
includes/api/ApiMain.php