diff --git a/src/categories.js b/src/categories.js index e4ba8ad55e..f938d2a0ae 100644 --- a/src/categories.js +++ b/src/categories.js @@ -115,111 +115,91 @@ var RDB = require('./redis.js'), // not the permanent location for this function Categories.getTopicsByTids = function(tids, current_user, callback, category_id /*temporary*/) { - var title = [], - uid = [], - timestamp = [], - lastposttime = [], - slug = [], - postcount = [], - locked = [], - deleted = [], - pinned = []; - - for (var i=0, ii=tids.length; i