From: Tim Starling Date: Fri, 13 Jan 2006 10:29:24 +0000 (+0000) Subject: accidentally committed experimental code X-Git-Tag: 1.6.0~576 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=2f49de971cb0101b43ab3026b34db9dcfd12b0b5;p=lhc%2Fweb%2Fwiklou.git accidentally committed experimental code --- diff --git a/includes/Setup.php b/includes/Setup.php index a28c04715e..c085799636 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -66,7 +66,6 @@ require_once( 'ProxyTools.php' ); require_once( 'ObjectCache.php' ); require_once( 'WikiError.php' ); require_once( 'SpecialPage.php' ); -require_once( 'RequestRate.php' ); if ( $wgUseDynamicDates ) { require_once( 'DateFormatter.php' ); @@ -299,14 +298,6 @@ wfSeedRandom(); $wgTitle = Title::makeTitle( NS_SPECIAL, 'Error' ); $wgArticle = new Article($wgTitle); -# Update request rate -/* -if ( !mt_rand( 0, $wgRequestRateDefaultFraction - 1 ) ) { - require_once( 'RequestRate.php' ); - $rr =& RequestRate::singleton(); - $rr->increment(); -}*/ - wfProfileOut( $fname.'-misc2' ); wfProfileIn( $fname.'-extensions' );