From: Roan Kattouw Date: Wed, 14 Sep 2011 13:43:06 +0000 (+0000) Subject: Revert r96715 per committer's (Chad's) CR comment X-Git-Tag: 1.31.0-rc.0~27672 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=4a0c3c1fa8a3c7bc8740167d80a76799db3bf52e;p=lhc%2Fweb%2Fwiklou.git Revert r96715 per committer's (Chad's) CR comment --- diff --git a/api.php b/api.php index 154e168efd..5318aeaed9 100644 --- a/api.php +++ b/api.php @@ -105,9 +105,6 @@ if ( $wgCrossSiteAJAXdomains && isset( $_SERVER['HTTP_ORIGIN'] ) ) { // Set a dummy $wgTitle, because $wgTitle == null breaks various things // In a perfect world this wouldn't be necessary -// -// @todo @fixme Ummmm, doesn't this line make the PHP4 check at the top completely -// useless? Suggest moving more stuff out of api.php like we did with index.php $wgTitle = Title::makeTitle( NS_MAIN, 'API' ); /* Construct an ApiMain with the arguments passed via the URL. What we get back