mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 02:25:55 +01:00
closes #6093
This commit is contained in:
@@ -10,13 +10,13 @@ var helpers = require('./helpers');
|
||||
|
||||
exports.get = function (req, res, next) {
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
function (_next) {
|
||||
plugins.fireHook('filter:composer.build', {
|
||||
req: req,
|
||||
res: res,
|
||||
next: next,
|
||||
templateData: {},
|
||||
}, next);
|
||||
}, _next);
|
||||
},
|
||||
function (data) {
|
||||
if (data.templateData.disabled) {
|
||||
|
||||
Reference in New Issue
Block a user