From: Michael Dale Date: Fri, 14 Aug 2009 18:03:15 +0000 (+0000) Subject: http:get was clearing opts array (fixed) X-Git-Tag: 1.31.0-rc.0~40304 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=c89ea200309774f158fbb721433a71bf7a05075a;p=lhc%2Fweb%2Fwiklou.git http:get was clearing opts array (fixed) --- 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 );