The early return added in r98698 was skipping the closing wfProfileOut().
authorPlatonides <platonides@users.mediawiki.org>
Thu, 27 Oct 2011 20:50:07 +0000 (20:50 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 27 Oct 2011 20:50:07 +0000 (20:50 +0000)
includes/resourceloader/ResourceLoader.php

index ef698f8..9973cbc 100644 (file)
@@ -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)
                }