From 8252f9c5c3cb92135e7d88c36edcee6ee334adfc Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 28 May 2005 06:53:22 +0000 Subject: [PATCH] profiling --- includes/Credits.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/Credits.php b/includes/Credits.php index 024231211d..8699c79f76 100644 --- a/includes/Credits.php +++ b/includes/Credits.php @@ -49,7 +49,8 @@ function showCreditsPage($article) { } function getCredits($article, $cnt, $showIfMax=true) { - + $fname = 'getCredits'; + wfProfileIn( $fname ); $s = ''; if (isset($cnt) && $cnt != 0) { @@ -59,6 +60,7 @@ function getCredits($article, $cnt, $showIfMax=true) { } } + wfProfileOut( $fname ); return $s; } -- 2.20.1