From ec391aac5d62e6cd1e465e2ec7784e3210f9a032 Mon Sep 17 00:00:00 2001 From: aude Date: Fri, 26 Oct 2012 22:07:50 +0000 Subject: [PATCH] rm unused $egWBRemoteTitleNormalization var from MediaWikiSite.php Change-Id: I8151b79f97ac7fea547a974ad64d404ff881a2e2 --- includes/site/MediaWikiSite.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 ) ) { -- 2.20.1