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);
}
cache.del('settings:' + hash);
plugins.fireHook('action:settings.set', {
plugin: hash,
settings: values,
@ -92,7 +94,6 @@ Settings.set = async function (hash, values, quiet) {
pubsub.publish('action:settings.set.' + hash, values);
Meta.reloadRequired = !quiet;
cache.del('settings:' + hash);
};
Settings.setOne = async function (hash, field, value) {

Loading…
Cancel
Save