mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-12 01:16:19 +00:00
Merge "PreferenceHooks: Don't call saveSettings in LocalUserCreated"
This commit is contained in:
commit
5181d099ab
|
@ -218,7 +218,6 @@ class PreferenceHooks implements
|
|||
if ( HookUtils::isFeatureAvailableToUser( $user, HookUtils::AUTOTOPICSUB ) ) {
|
||||
$userOptionsManager->setOption( $user, 'discussiontools-' . HookUtils::AUTOTOPICSUB, 1 );
|
||||
}
|
||||
$user->saveSettings();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue