From c1d900337cded499062f107110f3493de0e7ab73 Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Wed, 5 Jun 2013 12:38:09 -0300 Subject: [PATCH] Follow up I6e64a missing global deceleration for $wgHTTPConnectTimeout Bug: 47027 Change-Id: I3e2a84ee8a759dd2bdb2fd0837e0cd5605541816 --- includes/HttpFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 1c9ad38bbf..cf36d2e97a 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -220,7 +220,7 @@ class MWHttpRequest { * @param array $options (optional) extra params to pass (see Http::request()) */ protected function __construct( $url, $options = array() ) { - global $wgHTTPTimeout; + global $wgHTTPTimeout, $wgHTTPConnectTimeout; $this->url = wfExpandUrl( $url, PROTO_HTTP ); $this->parsedUrl = wfParseUrl( $this->url ); -- 2.20.1