fix filter

v1.18.x
barisusakli 10 years ago
parent 6e630b3cfd
commit 8333a5dcd9

@ -499,7 +499,7 @@ function enableDefaultPlugins(next) {
}
defaultEnabled = defaultEnabled.filter(function(plugin, index, array) {
return array.indexOf(plugin) === -1;
return array.indexOf(plugin) === index;
});
var db = require('./database');

Loading…
Cancel
Save