r90770 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90769‎ | r90770 | r90771 >
Date:15:12, 25 June 2011
Author:demon
Status:ok
Tags:
Comment:
Cannot call non-static method statically. Per thread on mediawiki-l <http://lists.wikimedia.org/pipermail/mediawiki-l/2011-June/037594.html&gt;
Modified paths:
  • /trunk/extensions/AntiBot/available/GenericFormEncoding.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AntiBot/available/GenericFormEncoding.php
@@ -10,7 +10,7 @@
1111
1212 $wgHooks['EditFilterMerged'][] = 'AntiBot_GenericFormEncoding::onEditFilterMerged';
1313 class AntiBot_GenericFormEncoding {
14 - function onEditFilterMerged( $editPage, $text, &$hookError ) {
 14+ public static function onEditFilterMerged( $editPage, $text, &$hookError ) {
1515 if ( !function_exists( 'apache_request_headers' ) ) {
1616 return true;
1717 }

Status & tagging log