r67870 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67869‎ | r67870 | r67871 >
Date:21:58, 11 June 2010
Author:raymond
Status:ok
Tags:
Comment:
Fix Strict Standards: Non-static method FlaggedRevsHooks::previousBlockCheck() should not be called statically in FlaggedRevs\FlaggedRevs.hooks.php on line 1299
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1207,7 +1207,7 @@
12081208 /**
12091209 * Checks if $user was previously blocked
12101210 */
1211 - protected function previousBlockCheck( $user ) {
 1211+ public static function previousBlockCheck( $user ) {
12121212 $dbr = wfGetDB( DB_SLAVE );
12131213 return (bool)$dbr->selectField( 'logging', '1',
12141214 array(

Status & tagging log