From 2f49de971cb0101b43ab3026b34db9dcfd12b0b5 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 13 Jan 2006 10:29:24 +0000 Subject: [PATCH] accidentally committed experimental code --- includes/Setup.php | 9 --------- 1 file changed, 9 deletions(-) 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' ); -- 2.20.1