From c89ea200309774f158fbb721433a71bf7a05075a Mon Sep 17 00:00:00 2001 From: Michael Dale Date: Fri, 14 Aug 2009 18:03:15 +0000 Subject: [PATCH] http:get was clearing opts array (fixed) --- includes/HttpFunctions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 266d2a18ba..cf29d675dc 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -29,7 +29,6 @@ class Http { */ public static function get( $url, $timeout = false, $opts = array() ) { global $wgSyncHTTPTimeout; - $opts = array(); if( $timeout ) $opts['timeout'] = $timeout; return Http::request( 'GET', $url, $opts ); -- 2.20.1