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

This reverts commit 20024418d9.

re: #4875
This commit is contained in:
Julian Lam
2016-07-21 13:13:25 -04:00
parent 20024418d9
commit 13a2e4cc3f

View File

@@ -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) {