X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FStreamFile.php;h=a52b25b02f9d217c4183418e6a3d3ba4d473552e;hb=4ff813680;hp=d69006e796aff73913f59c2a4373efb77c60f210;hpb=1fc666a0c4941d84840aecf571d03bc18eed9796;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/StreamFile.php b/includes/StreamFile.php index d69006e796..a52b25b02f 100644 --- a/includes/StreamFile.php +++ b/includes/StreamFile.php @@ -52,9 +52,7 @@ class StreamFile { if ( $res == self::NOT_MODIFIED ) { $ok = true; // use client cache } elseif ( $res == self::READY_STREAM ) { - wfProfileIn( __METHOD__ . '-send' ); $ok = readfile( $fname ); - wfProfileOut( __METHOD__ . '-send' ); } else { $ok = false; // failed }