From: Tim Starling Date: Sat, 28 May 2005 06:53:22 +0000 (+0000) Subject: profiling X-Git-Tag: 1.5.0alpha2~76 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=8252f9c5c3cb92135e7d88c36edcee6ee334adfc;p=lhc%2Fweb%2Fwiklou.git profiling --- 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; }