From: Aaron Schulz Date: Fri, 22 Jul 2011 21:18:30 +0000 (+0000) Subject: Improved r92884 comments a bit on second thought X-Git-Tag: 1.31.0-rc.0~28679 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=c91dee62b9eafa43a1444a96c293e16fd4a2faf2;p=lhc%2Fweb%2Fwiklou.git Improved r92884 comments a bit on second thought --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 81869877da..37408cd147 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -582,8 +582,8 @@ class LoginForm extends SpecialPage { } /* - * Increment the login attempt throttle hit count for a user - * and then check if the (username,IP) combination is throttled. + * Increment the login attempt throttle hit count for the (username,current IP) + * tuple unless the throttle was already reached. * @param $username string The user name * @return Bool|Integer The integer hit count or True if it is already at the limit */ @@ -610,7 +610,7 @@ class LoginForm extends SpecialPage { } /* - * Clear the login attempt throttle hit count for a user + * Clear the login attempt throttle hit count for the (username,current IP) tuple. * @param $username string The user name * @return void */