From: Aaron Schulz Date: Fri, 22 Jul 2011 21:04:53 +0000 (+0000) Subject: Follow-up r92884: mark these functions static X-Git-Tag: 1.31.0-rc.0~28681 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=bb89972e0b7008511dee3595ff46e4d9ceeef8fe;p=lhc%2Fweb%2Fwiklou.git Follow-up r92884: mark these functions static --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 1e78eeb91e..81869877da 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -587,7 +587,7 @@ class LoginForm extends SpecialPage { * @param $username string The user name * @return Bool|Integer The integer hit count or True if it is already at the limit */ - public function incLoginThrottle( $username ) { + public static function incLoginThrottle( $username ) { global $wgPasswordAttemptThrottle, $wgMemc; $throttleCount = 0; @@ -614,7 +614,7 @@ class LoginForm extends SpecialPage { * @param $username string The user name * @return void */ - public function clearLoginThrottle( $username ) { + public static function clearLoginThrottle( $username ) { global $wgMemc; $throttleKey = wfMemcKey( 'password-throttle', wfGetIP(), md5( $username ) );