removed unused code from category and topic controller

This commit is contained in:
barisusakli
2014-11-14 21:16:35 -05:00
parent cd05a123ab
commit d9a071d710
2 changed files with 0 additions and 12 deletions

View File

@@ -239,12 +239,6 @@ topicsController.get = function(req, res, next) {
data['feeds:disableRSS'] = parseInt(meta.config['feeds:disableRSS'], 10) === 1;
data.csrf = req.csrfToken();
var topic_url = tid + (req.params.slug ? '/' + req.params.slug : '');
var queryString = qs.stringify(req.query);
if(queryString.length) {
topic_url += '?' + queryString;
}
topics.increaseViewCount(tid);
if (!res.locals.isAPI) {