mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
closes #4354
This commit is contained in:
@@ -49,7 +49,7 @@ module.exports = function(Topics) {
|
||||
return callback(new Error('[[error:topic-already-restored]]'));
|
||||
}
|
||||
|
||||
Topics[isDelete ? 'delete' : 'restore'](tid, next);
|
||||
Topics[isDelete ? 'delete' : 'restore'](tid, uid, next);
|
||||
},
|
||||
function (next) {
|
||||
topicData.deleted = isDelete ? 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user