From 213faca8ed4a51a49ca280475a884f67104b7ca5 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 6 Jun 2004 05:36:39 +0000 Subject: Merge to HEAD; 1.3.0beta2 --- includes/Profiling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/Profiling.php') diff --git a/includes/Profiling.php b/includes/Profiling.php index 392ca38f1247..ed58bf08d80a 100755 --- a/includes/Profiling.php +++ b/includes/Profiling.php @@ -82,6 +82,7 @@ class Profiler if( !count( $this->mStack ) ) { return "No profiling output\n"; } + $this->close(); $width = 125; $format = "%-" . ($width - 28) . "s %6d %6.3f %6.3f %6.3f%%\n"; $titleFormat = "%-" . ($width - 28) . "s %9s %9s %9s %9s\n"; @@ -173,5 +174,4 @@ class Profiler $wgProfiler = new Profiler(); $wgProfiler->profileIn( "-total" ); - ?> -- cgit v1.2.3