Followup r96180: remove unused global $wgCanonicalServer
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 5 Sep 2011 10:55:54 +0000 (10:55 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 5 Sep 2011 10:55:54 +0000 (10:55 +0000)
includes/Title.php

index 8d1119c..4e21f51 100644 (file)
@@ -1044,7 +1044,6 @@ class Title {
         * @return string The URL
         */
        public function getCanonicalURL( $query = '', $variant = false ) {
-               global $wgCanonicalServer;
                $url = wfExpandUrl( $this->getLocalURL( $query, $variant ) . $this->getFragmentForURL(), PROTO_CANONICAL );
                wfRunHooks( 'GetCanonicalURL', array( &$this, &$url, $query, $variant ) );
                return $url;