mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
closes #5010
init plugin hooks before resetting widgets, the areas are returned by `filter:widgets.getAreas`
This commit is contained in:
@@ -193,7 +193,7 @@ widgets.reset = function (callback) {
|
||||
function (results, next) {
|
||||
drafts = results.drafts || [];
|
||||
|
||||
async.each(results.areas, function (area, next) {
|
||||
async.eachSeries(results.areas, function (area, next) {
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
widgets.getArea(area.template, area.location, next);
|
||||
|
||||
Reference in New Issue
Block a user