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:
Kosta Harlan 2022-01-12 19:21:53 +01:00
parent 88417cace5
commit ac17edf21c

View file

@ -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,