diff options
Diffstat (limited to 'includes/HttpFunctions.php')
-rw-r--r-- | includes/HttpFunctions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 66b6e729e924..8453e62cc95a 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -212,7 +212,7 @@ class MWHttpRequest { * @param $url String: url to use. If protocol-relative, will be expanded to an http:// URL * @param $options Array: (optional) extra params to pass (see Http::request()) */ - function __construct( $url, $options = array() ) { + protected function __construct( $url, $options = array() ) { global $wgHTTPTimeout; $this->url = wfExpandUrl( $url, PROTO_HTTP ); |