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

v1.18.x
Julian Lam 9 years ago
parent e602d2ad4d
commit 33a3a56fd7

@ -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);

Loading…
Cancel
Save