also passing in uid in topic delete and restore hooks

v1.18.x
Julian Lam 10 years ago
parent a1b6019efe
commit 8e38840768

@ -21,7 +21,7 @@ var async = require('async'),
};
function toggleDelete(tid, uid, isDelete, callback) {
topics.getTopicFields(tid, ['tid', 'cid', 'deleted', 'title', 'mainPid'], function(err, topicData) {
topics.getTopicFields(tid, ['tid', 'cid', 'uid', 'deleted', 'title', 'mainPid'], function(err, topicData) {
if (err) {
return callback(err);
}

Loading…
Cancel
Save