fixing topic deletion and purging

This commit is contained in:
Julian Lam
2014-11-10 16:52:38 -05:00
parent 5281c8c376
commit f9f1cf63cf
3 changed files with 10 additions and 8 deletions

View File

@@ -128,7 +128,7 @@ module.exports = function(Posts) {
return callback(err);
}
plugins.fireHook('action:post.delete', pid);
plugins.fireHook('action:post.purge', pid);
db.delete('post:' + pid, callback);
});
});