r40981 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40980‎ | r40981 | r40982 >
Date:13:42, 18 September 2008
Author:werdna
Status:old
Tags:
Comment:
Widdle bug
Modified paths:
  • /trunk/extensions/AbuseFilter/SpecialAbuseFilter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/SpecialAbuseFilter.php
@@ -448,6 +448,7 @@
449449 $throttleFields = array();
450450
451451 if ($setActions['throttle']) {
 452+ array_shift( $actions['throttle']['parameters'] );
452453 $throttleRate = explode(',',$actions['throttle']['parameters'][0]);
453454 $throttleCount = $throttleRate[0];
454455 $throttlePeriod = $throttleRate[1];