profiling
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 28 May 2005 06:53:22 +0000 (06:53 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 28 May 2005 06:53:22 +0000 (06:53 +0000)
includes/Credits.php

index 0242312..8699c79 100644 (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;
 }