X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FHttpFunctions.php;h=d066df89e61ca4cb5624d4afea1afcb32cd7470b;hb=2550a3c691b2e8179f4f0181761f9ce16d9630e4;hp=3749b1cf1adf2bdd1f30a2afb1e6cb57879ed043;hpb=aa21e125a34e8ca44e05d5dd96bb28562ec8e347;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 3749b1cf1a..d066df89e6 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -59,7 +59,6 @@ class Http { */ public static function request( $method, $url, $options = array() ) { wfDebug( "HTTP: $method: $url\n" ); - wfProfileIn( __METHOD__ . "-$method" ); $options['method'] = strtoupper( $method ); @@ -77,7 +76,6 @@ class Http { if ( $status->isOK() ) { $content = $req->getContent(); } - wfProfileOut( __METHOD__ . "-$method" ); return $content; } @@ -788,7 +786,6 @@ class CurlHttpRequest extends MWHttpRequest { $this->parseHeader(); $this->setStatus(); - return $this->status; } @@ -955,7 +952,6 @@ class PhpHttpRequest extends MWHttpRequest { } fclose( $fh ); - return $this->status; } }