From bb89972e0b7008511dee3595ff46e4d9ceeef8fe Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 22 Jul 2011 21:04:53 +0000 Subject: [PATCH] Follow-up r92884: mark these functions static --- includes/specials/SpecialUserlogin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) ); -- 2.20.1