This commit is contained in:
barisusakli
2016-03-12 17:29:33 +02:00
parent 74449dc074
commit 2869b3c068
6 changed files with 24 additions and 22 deletions

View File

@@ -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;