mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-30 19:30:04 +01:00
Fixed issue where -w and -a flags didn't work in NodeBB reset.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user