mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
emptying Meta.config on init (Just to be safe)
This commit is contained in:
@@ -11,6 +11,8 @@ var utils = require('./../public/src/utils.js'),
|
|||||||
|
|
||||||
Meta.configs = {
|
Meta.configs = {
|
||||||
init: function (callback) {
|
init: function (callback) {
|
||||||
|
delete Meta.config;
|
||||||
|
|
||||||
Meta.configs.list(function (err, config) {
|
Meta.configs.list(function (err, config) {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
Meta.config = config;
|
Meta.config = config;
|
||||||
|
|||||||
Reference in New Issue
Block a user