profiling

This commit is contained in:
Tim Starling 2005-05-28 06:53:22 +00:00
parent ce5b29ff09
commit 8252f9c5c3

View file

@ -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;
}