Index: trunk/extensions/AntiBot/available/GenericFormEncoding.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | |
12 | 12 | $wgHooks['EditFilterMerged'][] = 'AntiBot_GenericFormEncoding::onEditFilterMerged'; |
13 | 13 | class AntiBot_GenericFormEncoding { |
14 | | - function onEditFilterMerged( $editPage, $text, &$hookError ) { |
| 14 | + public static function onEditFilterMerged( $editPage, $text, &$hookError ) { |
15 | 15 | if ( !function_exists( 'apache_request_headers' ) ) { |
16 | 16 | return true; |
17 | 17 | } |