mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-26 08:31:22 +01:00
Create verified/unverified user groups (#8889)
Co-authored-by: Tudor-Dan Ravoiu <tudor-dan.ravoiu@ubisoft.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user