From: Chad Horohoe Date: Fri, 4 Jul 2008 02:25:38 +0000 (+0000) Subject: Remove wfGetHTTP() and wfIsLocalUrl(). Unused wrapper functions for stuff in the... X-Git-Tag: 1.31.0-rc.0~46758 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=9bbd9c2f53c4ffa1a9bada89e4c69260924576b5;p=lhc%2Fweb%2Fwiklou.git Remove wfGetHTTP() and wfIsLocalUrl(). Unused wrapper functions for stuff in the Http class. --- 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, "<") )