Fixed issue where -w and -a flags didn't work in NodeBB reset.

This commit is contained in:
Julian Lam
2015-12-16 10:04:58 -05:00
parent e602d2ad4d
commit 33a3a56fd7

View File

@@ -123,7 +123,7 @@ function resetPlugins(callback) {
}
function resetWidgets(callback) {
require('./src/widgets').reset(function(err) {
require('./widgets').reset(function(err) {
winston.info('[reset] All Widgets moved to Draft Zone');
if (typeof callback === 'function') {
callback(err);