rm unused $egWBRemoteTitleNormalization var from MediaWikiSite.php
authoraude <aude.wiki@gmail.com>
Fri, 26 Oct 2012 22:07:50 +0000 (22:07 +0000)
committeraude <aude.wiki@gmail.com>
Fri, 26 Oct 2012 22:07:50 +0000 (22:07 +0000)
Change-Id: I8151b79f97ac7fea547a974ad64d404ff881a2e2

includes/site/MediaWikiSite.php

index 716f144..0d5db11 100644 (file)
@@ -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 ) ) {