From: Platonides Date: Tue, 19 Jul 2011 20:31:48 +0000 (+0000) Subject: Follow up r92036. The global is not needed now. X-Git-Tag: 1.31.0-rc.0~28738 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=dcce018701f12ef7b3831caa8f66ea8b7dca7e94;p=lhc%2Fweb%2Fwiklou.git Follow up r92036. The global is not needed now. --- diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index f491144b4e..0dd697c337 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -257,8 +257,6 @@ See complete documentation, 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 +}