removing old api/popular code

v1.18.x
psychobunny 11 years ago
parent 4a33b41464
commit 1db0651bff

@ -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;

Loading…
Cancel
Save