possible performance enhancement
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 8 Jun 2004 02:32:56 +0000 (02:32 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 8 Jun 2004 02:32:56 +0000 (02:32 +0000)
includes/Setup.php

index 19d1cc7..a1c5f00 100644 (file)
@@ -13,8 +13,8 @@ if( !isset( $wgProfiling ) )
 if ( $wgProfiling and (0 == rand() % $wgProfileSampleRate ) ) {        
        require_once( "Profiling.php" );
 } else {
-       function wfProfileIn( $fn ) {}
-       function wfProfileOut( $fn = "" ) {}
+       function wfProfileIn( $fn = '' ) {}
+       function wfProfileOut( $fn = '' ) {}
        function wfGetProfilingOutput( $s, $e ) {}
        function wfProfileClose() {}
 }