http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95101

Revision: 95101
Author:   raymond
Date:     2011-08-20 18:07:48 +0000 (Sat, 20 Aug 2011)
Log Message:
-----------
Self revert r95041 per CR. I will commit a cleaner patch.

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-08-20 17:49:07 UTC (rev 95100)
+++ trunk/phase3/docs/hooks.txt 2011-08-20 18:07:48 UTC (rev 95101)
@@ -643,10 +643,6 @@
 '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).

Modified: trunk/phase3/includes/specials/SpecialUserlogin.php
===================================================================
--- trunk/phase3/includes/specials/SpecialUserlogin.php 2011-08-20 17:49:07 UTC 
(rev 95100)
+++ trunk/phase3/includes/specials/SpecialUserlogin.php 2011-08-20 18:07:48 UTC 
(rev 95101)
@@ -377,9 +377,6 @@
                        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 );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to