r95935 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95934‎ | r95935 | r95936 >
Date:05:12, 1 September 2011
Author:laner
Status:deferred
Tags:ldap 
Comment:
Add hook to allow other extensions to update users on login and creation
Modified paths:
  • /trunk/extensions/LdapAuthentication/LdapAuthentication.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php
@@ -886,6 +886,9 @@
887887 $saveSettings = true;
888888 }
889889
 890+ # Let other extensions update the user
 891+ wfRunHooks( 'LDAPUpdateUser', array( $this ) );
 892+
890893 if ( $saveSettings ) {
891894 $this->printDebug( "Saving user settings.", NONSENSITIVE );
892895 $user->saveSettings();

Status & tagging log