Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php |
— | — | @@ -628,7 +628,7 @@ |
629 | 629 | return $user; |
630 | 630 | } |
631 | 631 | |
632 | | - function buildEditBox( $rules, $textName = 'wpFilterRules' ) { |
| 632 | + static function buildEditBox( $rules, $textName = 'wpFilterRules' ) { |
633 | 633 | global $wgOut; |
634 | 634 | |
635 | 635 | $rules = Xml::textarea( $textName, ( isset( $rules ) ? $rules."\n" : "\n" ) ); |