mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
removed buildFooter filter
This commit is contained in:
@@ -225,14 +225,7 @@ var RDB = require('./redis'),
|
||||
PostTools.parse = function(raw, callback) {
|
||||
raw = raw || '';
|
||||
|
||||
async.waterfall([
|
||||
function(next) {
|
||||
plugins.fireHook('filter:post.parse', raw, next);
|
||||
},
|
||||
function(parsed, next) {
|
||||
plugins.fireHook('filter:post.buildFooter', parsed, next);
|
||||
}
|
||||
], function(err, parsed) {
|
||||
plugins.fireHook('filter:post.parse', raw, function(err, parsed) {
|
||||
callback(null, !err ? parsed : raw);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user