Merge "Add getId to mw.user, returning wgUserId (or 0 for anons)."
[lhc/web/wiklou.git] / includes / HttpFunctions.php
index a6ef99a..444857a 100644 (file)
@@ -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 );