mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
post edit tests
This commit is contained in:
@@ -65,7 +65,7 @@ module.exports = function (Posts) {
|
||||
results = _results;
|
||||
|
||||
postData.cid = results.topic.cid;
|
||||
|
||||
postData.topic = results.topic;
|
||||
plugins.fireHook('action:post.edit', _.clone(postData));
|
||||
|
||||
cache.del(String(postData.pid));
|
||||
|
||||
Reference in New Issue
Block a user