From: Platonides Date: Thu, 27 Oct 2011 20:50:07 +0000 (+0000) Subject: The early return added in r98698 was skipping the closing wfProfileOut(). X-Git-Tag: 1.31.0-rc.0~26868 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=d71e657d59b740be475d18d6c051337988f04687;p=lhc%2Fweb%2Fwiklou.git The early return added in r98698 was skipping the closing wfProfileOut(). --- diff --git a/includes/resourceloader/ResourceLoader.php b/includes/resourceloader/ResourceLoader.php index ef698f808f..9973cbc807 100644 --- a/includes/resourceloader/ResourceLoader.php +++ b/includes/resourceloader/ResourceLoader.php @@ -424,6 +424,7 @@ class ResourceLoader { // If there's an If-Modified-Since header, respond with a 304 appropriately if ( $this->tryRespondLastModified( $context, $mtime ) ) { + wfProfileOut( __METHOD__ ); return; // output handled (buffers cleared) }