X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FHttpFunctions.php;h=8453e62cc95a4e8732fb6a971a25a7e84063e715;hb=e7888d8f12110decc9f0435193f0cd222eaae5a9;hp=201a9e5a8deee4f02da3ed2b358172d226a9ba85;hpb=4acf38255f60c7f91a30e9f2aefabfcbbe41a6ce;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 201a9e5a8d..8453e62cc9 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -156,7 +156,7 @@ class Http { * * file:// should not be allowed here for security purpose (r67684) * - * @fixme this is wildly inaccurate and fails to actually check most stuff + * @todo FIXME this is wildly inaccurate and fails to actually check most stuff * * @param $uri Mixed: URI to check for validity * @return Boolean @@ -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 );