From 9bbd9c2f53c4ffa1a9bada89e4c69260924576b5 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 4 Jul 2008 02:25:38 +0000 Subject: [PATCH] Remove wfGetHTTP() and wfIsLocalUrl(). Unused wrapper functions for stuff in the Http class. --- includes/GlobalFunctions.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 074014a8d4..d5df7c0ffd 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2293,16 +2293,6 @@ function wfCreateObject( $name, $p ){ } } -/** - * Aliases for modularized functions - */ -function wfGetHTTP( $url, $timeout = 'default' ) { - return Http::get( $url, $timeout ); -} -function wfIsLocalURL( $url ) { - return Http::isLocalURL( $url ); -} - function wfHttpOnlySafe() { global $wgHttpOnlyBlacklist; if( !version_compare("5.2", PHP_VERSION, "<") ) -- 2.20.1