From dcce018701f12ef7b3831caa8f66ea8b7dca7e94 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 19 Jul 2011 20:31:48 +0000 Subject: [PATCH] Follow up r92036. The global is not needed now. --- includes/api/ApiFormatBase.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 +} -- 2.20.1