mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
closed #3084
This commit is contained in:
@@ -116,7 +116,8 @@ module.exports = function(Posts) {
|
|||||||
data.tags = data.tags || [];
|
data.tags = data.tags || [];
|
||||||
|
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
function(next) {
|
async.apply(plugins.fireHook,'filter:topic.edit', topicData),
|
||||||
|
function(topicData, next) {
|
||||||
db.setObject('topic:' + tid, topicData, next);
|
db.setObject('topic:' + tid, topicData, next);
|
||||||
},
|
},
|
||||||
function(next) {
|
function(next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user