mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
possible fix to travis
This commit is contained in:
@@ -414,17 +414,7 @@ function enableDefaultPlugins(next) {
|
||||
'nodebb-plugin-soundpack-default'
|
||||
];
|
||||
|
||||
async.each(defaultEnabled, function (pluginId, next) {
|
||||
Plugins.isActive(pluginId, function (err, active) {
|
||||
if (!active) {
|
||||
Plugins.toggleActive(pluginId, function () {
|
||||
next();
|
||||
});
|
||||
} else {
|
||||
next();
|
||||
}
|
||||
});
|
||||
}, next);
|
||||
db.setAdd('plugins:active', defaultEnabled, next);
|
||||
}
|
||||
|
||||
function setCopyrightWidget(next) {
|
||||
|
||||
@@ -82,11 +82,6 @@ var fs = require('fs'),
|
||||
Plugins.lessFiles.length = 0;
|
||||
Plugins.clientScripts.length = 0;
|
||||
|
||||
if (!middleware) {
|
||||
var e = new Error('middleware undefined');
|
||||
console.log(e.stack);
|
||||
}
|
||||
|
||||
// Read the list of activated plugins and require their libraries
|
||||
async.waterfall([
|
||||
function(next) {
|
||||
|
||||
Reference in New Issue
Block a user