http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88232
Revision: 88232
Author: midom
Date: 2011-05-16 12:50:02 +0000 (Mon, 16 May 2011)
Log Message:
-----------
unbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :(
Also, add it to AutoLoader
Modified Paths:
--------------
trunk/phase3/includes/AutoLoader.php
trunk/phase3/includes/profiler/ProfilerSimpleTrace.php
Modified: trunk/phase3/includes/AutoLoader.php
===================================================================
--- trunk/phase3/includes/AutoLoader.php 2011-05-16 12:45:08 UTC (rev
88231)
+++ trunk/phase3/includes/AutoLoader.php 2011-05-16 12:50:02 UTC (rev
88232)
@@ -601,6 +601,7 @@
'Profiler' => 'includes/profiler/Profiler.php',
'ProfilerSimple' => 'includes/profiler/ProfilerSimple.php',
'ProfilerSimpleText' => 'includes/profiler/ProfilerSimpleText.php',
+ 'ProfilerSimpleTrace' => 'includes/profiler/ProfilerSimpleTrace.php',
'ProfilerSimpleUDP' => 'includes/profiler/ProfilerSimpleUDP.php',
'ProfilerStub' => 'includes/profiler/ProfilerStub.php',
Modified: trunk/phase3/includes/profiler/ProfilerSimpleTrace.php
===================================================================
--- trunk/phase3/includes/profiler/ProfilerSimpleTrace.php 2011-05-16
12:45:08 UTC (rev 88231)
+++ trunk/phase3/includes/profiler/ProfilerSimpleTrace.php 2011-05-16
12:50:02 UTC (rev 88232)
@@ -60,7 +60,7 @@
return $diff / 1024;
}
- function getOutput() {
+ function logData() {
print "<!-- \n {$this->trace} \n -->";
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs