From: Mr. E23 Date: Sat, 13 Aug 2005 13:23:22 +0000 (+0000) Subject: Added dummy wfLogProfilingData() to avoid php warnings when profiling is disabled X-Git-Tag: 1.6.0~1998 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=ea2a812e564fbfb5aecbf41443551ab8b952a512;p=lhc%2Fweb%2Fwiklou.git Added dummy wfLogProfilingData() to avoid php warnings when profiling is disabled --- diff --git a/includes/Setup.php b/includes/Setup.php index 1a580c163d..6e3f28f2d8 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -42,6 +42,7 @@ if ( $wgProfiling and (0 == rand() % $wgProfileSampleRate ) ) { } function wfGetProfilingOutput( $s, $e ) {} function wfProfileClose() {} + function wfLogProfilingData() {} } $fname = 'Setup.php';