r44383 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44382‎ | r44383 | r44384 >
Date:05:12, 10 December 2008
Author:aaron
Status:ok
Tags:
Comment:
Reduce profile overhead here
Modified paths:
  • /trunk/phase3/includes/AutoLoader.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/AutoLoader.php
@@ -538,7 +538,6 @@
539539 static function autoload( $className ) {
540540 global $wgAutoloadClasses, $wgAutoloadLocalClasses;
541541
542 - wfProfileIn( __METHOD__ );
543542 if ( isset( $wgAutoloadLocalClasses[$className] ) ) {
544543 $filename = $wgAutoloadLocalClasses[$className];
545544 } elseif ( isset( $wgAutoloadClasses[$className] ) ) {
@@ -568,7 +567,6 @@
569568 $filename = "$IP/$filename";
570569 }
571570 require( $filename );
572 - wfProfileOut( __METHOD__ );
573571 return true;
574572 }
575573

Follow-up revisions

RevisionCommit summaryAuthorDate
r44392Fix for r44383: profiling error on unexisting classialex11:42, 10 December 2008

Status & tagging log