mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
EchoHooks: Don't call saveSettings in LocalUserCreated
$user->saveSettings() happens in AuthManager after the LocalUserCreated hook finishes running. Bug: T199393 Change-Id: I1e1826c9f304d7b6c8f3663196a48267a0af0bae
This commit is contained in:
parent
88417cace5
commit
ac17edf21c
|
@ -668,7 +668,6 @@ class EchoHooks implements RecentChange_saveHook {
|
|||
foreach ( $overrides as $prefKey => $value ) {
|
||||
$userOptionsManager->setOption( $user, $prefKey, $value );
|
||||
}
|
||||
$user->saveSettings();
|
||||
EchoEvent::create( [
|
||||
'type' => 'welcome',
|
||||
'agent' => $user,
|
||||
|
|
Loading…
Reference in a new issue