Remove wfGetHTTP() and wfIsLocalUrl(). Unused wrapper functions for stuff in the...
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 4 Jul 2008 02:25:38 +0000 (02:25 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 4 Jul 2008 02:25:38 +0000 (02:25 +0000)
includes/GlobalFunctions.php

index 074014a..d5df7c0 100644 (file)
@@ -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, "<") )