From d3857667d50f936582ab0d001c6c958290589ddf Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Sat, 20 Aug 2011 18:07:48 +0000 Subject: [PATCH] Self revert r95041 per CR. I will commit a cleaner patch. --- docs/hooks.txt | 4 ---- includes/specials/SpecialUserlogin.php | 3 --- 2 files changed, 7 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 1ce8ccafd4..a120aa9efd 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -643,10 +643,6 @@ $output: OutputPage object in use 'CategoryPageView': before viewing a categorypage in CategoryPage::view $catpage: CategoryPage instance -'ChangeAccountCreationThrottle': Called to change $wgAccountCreationThrottle -$ip: The ip address of the user -&$wgAccountCreationThrottle: The global variable $wgAccountCreationThrottle to be changed - 'ChangesListInsertArticleLink': Override or augment link to article in RC list. &$changesList: ChangesList instance. &$articlelink: HTML of link to article (already filled-in). diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 14a06e4212..ee4d617ff7 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -377,9 +377,6 @@ class LoginForm extends SpecialPage { return false; } - // Hook point to change $wgAccountCreationThrottle - wfRunHooks( 'ChangeAccountCreationThrottle', array( $ip, &$wgAccountCreationThrottle ) ); - if ( $wgAccountCreationThrottle && $wgUser->isPingLimitable() ) { $key = wfMemcKey( 'acctcreate', 'ip', $ip ); $value = $wgMemc->get( $key ); -- 2.20.1