Revert "Send plugin `postData` changes up the line (#4875)"

This reverts commit 20024418d9.

re: #4875
v1.18.x
Julian Lam 9 years ago
parent 20024418d9
commit 13a2e4cc3f

@ -58,8 +58,7 @@ module.exports = function(Posts) {
plugins.fireHook('filter:post.save', postData, next);
},
function(_postData, next) {
postData = _postData;
function(postData, next) {
db.setObject('post:' + postData.pid, postData, next);
},
function(next) {

Loading…
Cancel
Save