uid not used #1973

v1.18.x
Barış Soner Uşaklı 10 years ago
parent e2b535dfaf
commit 0c903672d0

@ -17,7 +17,7 @@ module.exports = function(Topics) {
getTidsWithSameTags(tid, next); getTidsWithSameTags(tid, next);
}, },
searchTids: function(next) { searchTids: function(next) {
getSearchTids(tid, uid, next); getSearchTids(tid, next);
}, },
categoryTids: function(next) { categoryTids: function(next) {
getCategoryTids(tid, next); getCategoryTids(tid, next);
@ -51,7 +51,7 @@ module.exports = function(Topics) {
], callback); ], callback);
} }
function getSearchTids(tid, uid, callback) { function getSearchTids(tid, callback) {
async.waterfall([ async.waterfall([
function(next) { function(next) {
Topics.getTopicField(tid, 'title', next); Topics.getTopicField(tid, 'title', next);

Loading…
Cancel
Save