Added dummy wfLogProfilingData() to avoid php warnings when profiling is disabled
authorMr. E23 <e23@users.mediawiki.org>
Sat, 13 Aug 2005 13:23:22 +0000 (13:23 +0000)
committerMr. E23 <e23@users.mediawiki.org>
Sat, 13 Aug 2005 13:23:22 +0000 (13:23 +0000)
includes/Setup.php

index 1a580c1..6e3f28f 100644 (file)
@@ -42,6 +42,7 @@ if ( $wgProfiling and (0 == rand() % $wgProfileSampleRate ) ) {
         }
         function wfGetProfilingOutput( $s, $e ) {}
         function wfProfileClose() {}
+       function wfLogProfilingData() {}
 }
 
 $fname = 'Setup.php';