|
|
@ -414,17 +414,7 @@ function enableDefaultPlugins(next) {
|
|
|
|
'nodebb-plugin-soundpack-default'
|
|
|
|
'nodebb-plugin-soundpack-default'
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
async.each(defaultEnabled, function (pluginId, next) {
|
|
|
|
db.setAdd('plugins:active', defaultEnabled, next);
|
|
|
|
Plugins.isActive(pluginId, function (err, active) {
|
|
|
|
|
|
|
|
if (!active) {
|
|
|
|
|
|
|
|
Plugins.toggleActive(pluginId, function () {
|
|
|
|
|
|
|
|
next();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
next();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}, next);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function setCopyrightWidget(next) {
|
|
|
|
function setCopyrightWidget(next) {
|
|
|
|