removed buildFooter filter

v1.18.x
Julian Lam 12 years ago
parent 78af47362c
commit 7695e76494

@ -225,14 +225,7 @@ var RDB = require('./redis'),
PostTools.parse = function(raw, callback) { PostTools.parse = function(raw, callback) {
raw = raw || ''; raw = raw || '';
async.waterfall([ plugins.fireHook('filter:post.parse', raw, function(err, parsed) {
function(next) {
plugins.fireHook('filter:post.parse', raw, next);
},
function(parsed, next) {
plugins.fireHook('filter:post.buildFooter', parsed, next);
}
], function(err, parsed) {
callback(null, !err ? parsed : raw); callback(null, !err ? parsed : raw);
}); });
} }

Loading…
Cancel
Save