mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-08 10:03:20 +02:00
closes #3664
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
var async = require('async'),
|
||||
_ = require('underscore'),
|
||||
|
||||
db = require('../database'),
|
||||
topics = require('../topics'),
|
||||
user = require('../user'),
|
||||
@@ -59,7 +61,7 @@ module.exports = function(Posts) {
|
||||
},
|
||||
function(cid, next) {
|
||||
postData.cid = cid;
|
||||
plugins.fireHook('action:post.restore', postData);
|
||||
plugins.fireHook('action:post.restore', _.clone(postData));
|
||||
|
||||
async.parallel([
|
||||
function(next) {
|
||||
|
||||
Reference in New Issue
Block a user