Follow up r92036. The global is not needed now.
authorPlatonides <platonides@users.mediawiki.org>
Tue, 19 Jul 2011 20:31:48 +0000 (20:31 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 19 Jul 2011 20:31:48 +0000 (20:31 +0000)
includes/api/ApiFormatBase.php

index f491144..0dd697c 100644 (file)
@@ -257,8 +257,6 @@ See <a href='http://www.mediawiki.org/wiki/API'>complete documentation</a>, or
         * @return string
         */
        protected function formatHTML( $text ) {
-               global $wgUrlProtocols;
-
                // Escape everything first for full coverage
                $text = htmlspecialchars( $text );
 
@@ -374,4 +372,4 @@ class ApiFormatFeedWrapper extends ApiFormatBase {
        public function getVersion() {
                return __CLASS__ . ': $Id$';
        }
-}
\ No newline at end of file
+}