r99000 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98999‎ | r99000 | r99001 >
Date:13:44, 5 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Update hook subscriber per core hook parameters
Modified paths:
  • /trunk/extensions/CentralAuth/CentralAuthHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/CentralAuthHooks.php
@@ -10,7 +10,7 @@
1111 * Make sure migration information in localuser table is populated
1212 * on local account creation
1313 */
14 - static function onAddNewAccount( $user ) {
 14+ static function onAddNewAccount( $user, $byEmail ) {
1515 $central = CentralAuthUser::getInstance( $user );
1616 $central->addLocalName( wfWikiID() );
1717 return true;

Status & tagging log