Node.js based forum software built for the modern web
removing old api/popular code
psychobunny1db0651bff2d
diff --git a/src/routes/api.js b/src/routes/api.jsindex 9c1f745ab6..67db4796f8 100644--- a/src/routes/api.js+++ b/src/routes/api.js@@ -284,7 +284,7 @@ var path = require('path'),});});- app.get('/popular/:set?', function (req, res, next) {+ /*app.get('/popular/:set?', function (req, res, next) {var uid = (req.user) ? req.user.uid : 0;var set = 'topics:' + req.params.set;if(!req.params.set) {@@ -296,7 +296,7 @@ var path = require('path'),}res.json(data);});- });+ });*/app.get('/unread', function (req, res, next) {var uid = (req.user) ? req.user.uid : 0;