mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 09:36:16 +01:00
Revert "Send plugin postData changes up the line (#4875)"
This reverts commit 20024418d9.
re: #4875
This commit is contained in:
@@ -58,8 +58,7 @@ module.exports = function(Posts) {
|
|||||||
|
|
||||||
plugins.fireHook('filter:post.save', postData, next);
|
plugins.fireHook('filter:post.save', postData, next);
|
||||||
},
|
},
|
||||||
function(_postData, next) {
|
function(postData, next) {
|
||||||
postData = _postData;
|
|
||||||
db.setObject('post:' + postData.pid, postData, next);
|
db.setObject('post:' + postData.pid, postData, next);
|
||||||
},
|
},
|
||||||
function(next) {
|
function(next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user