mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 00:07:25 +02:00
#1281 topic purge
This commit is contained in:
@@ -8,7 +8,7 @@ var async = require('async'),
|
||||
|
||||
module.exports = function(Posts) {
|
||||
|
||||
Posts.delete = function(pid, callback) {
|
||||
Posts.purge = function(pid, callback) {
|
||||
async.parallel([
|
||||
function(next) {
|
||||
deletePostFromTopicAndUser(pid, next);
|
||||
|
||||
Reference in New Issue
Block a user