http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100241
Revision: 100241
Author: raymond
Date: 2011-10-19 17:15:05 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
Change the hook case per CR r95152
Modified Paths:
--------------
trunk/phase3/docs/hooks.txt
trunk/phase3/includes/specials/SpecialUserlogin.php
Modified: trunk/phase3/docs/hooks.txt
===================================================================
--- trunk/phase3/docs/hooks.txt 2011-10-19 17:09:28 UTC (rev 100240)
+++ trunk/phase3/docs/hooks.txt 2011-10-19 17:15:05 UTC (rev 100241)
@@ -852,7 +852,7 @@
$editToken: The user's edit token.
&$hookErr: Out-param for the error. Passed as the parameters to
OutputPage::showErrorPage.
-'exemptFromAccountCreationThrottle': Exemption from the account creation
throttle
+'ExemptFromAccountCreationThrottle': Exemption from the account creation
throttle
$ip: The ip address of the user
'ExtensionTypes': called when generating the extensions credits, use this to
change the tables headers
Modified: trunk/phase3/includes/specials/SpecialUserlogin.php
===================================================================
--- trunk/phase3/includes/specials/SpecialUserlogin.php 2011-10-19 17:09:28 UTC
(rev 100240)
+++ trunk/phase3/includes/specials/SpecialUserlogin.php 2011-10-19 17:15:05 UTC
(rev 100241)
@@ -388,7 +388,7 @@
}
// Hook point to check for exempt from account creation throttle
- if ( !wfRunHooks( 'exemptFromAccountCreationThrottle', array(
$ip ) ) ) {
+ if ( !wfRunHooks( 'ExemptFromAccountCreationThrottle', array(
$ip ) ) ) {
wfDebug( "LoginForm::exemptFromAccountCreationThrottle:
a hook allowed account creation w/o throttle\n" );
} else {
if ( ( $wgAccountCreationThrottle &&
$currentUser->isPingLimitable() ) ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs