Create verified/unverified user groups (#8889)

Co-authored-by: Tudor-Dan Ravoiu <tudor-dan.ravoiu@ubisoft.com>
v1.18.x
Tudor-Dan Ravoiu 4 years ago committed by GitHub
parent 996174a187
commit 452d7f2b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -85,6 +85,8 @@ Settings.set = async function (hash, values, quiet) {
await db.setObject('settings:' + hash, values); await db.setObject('settings:' + hash, values);
} }
cache.del('settings:' + hash);
plugins.fireHook('action:settings.set', { plugins.fireHook('action:settings.set', {
plugin: hash, plugin: hash,
settings: values, settings: values,
@ -92,7 +94,6 @@ Settings.set = async function (hash, values, quiet) {
pubsub.publish('action:settings.set.' + hash, values); pubsub.publish('action:settings.set.' + hash, values);
Meta.reloadRequired = !quiet; Meta.reloadRequired = !quiet;
cache.del('settings:' + hash);
}; };
Settings.setOne = async function (hash, field, value) { Settings.setOne = async function (hash, field, value) {

Loading…
Cancel
Save