From: aude Date: Fri, 26 Oct 2012 22:07:50 +0000 (+0000) Subject: rm unused $egWBRemoteTitleNormalization var from MediaWikiSite.php X-Git-Tag: 1.31.0-rc.0~21841^2 X-Git-Url: https://git.cyclocoop.org/admin/%7B%24plugin.url%7Cescape%7D?a=commitdiff_plain;h=ec391aac5d62e6cd1e465e2ec7784e3210f9a032;p=lhc%2Fweb%2Fwiklou.git rm unused $egWBRemoteTitleNormalization var from MediaWikiSite.php Change-Id: I8151b79f97ac7fea547a974ad64d404ff881a2e2 --- diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php index 716f14494a..0d5db11dc0 100644 --- a/includes/site/MediaWikiSite.php +++ b/includes/site/MediaWikiSite.php @@ -52,9 +52,8 @@ class MediaWikiSite extends SiteObject { * @note : This actually makes an API request to the remote site, so beware that this function is slow and depends * on an external service. * - * @note : If MW_PHPUNIT_TEST is defined or $egWBRemoteTitleNormalization is set to false, the call to the - * external site is skipped, and the title is normalized using the local normalization rules as - * implemented by the Title class. + * @note : If MW_PHPUNIT_TEST is defined, the call to the external site is skipped, and the title + * is normalized using the local normalization rules as implemented by the Title class. * * @see Site::normalizePageName * @@ -66,7 +65,6 @@ class MediaWikiSite extends SiteObject { * @throws MWException */ public function normalizePageName( $pageName ) { - global $egWBRemoteTitleNormalization; // Check if we have strings as arguments. if ( !is_string( $pageName ) ) {