half hearted deprecation warning (maybe for 0.5x?)

v1.18.x
psychobunny 11 years ago
parent 37affe2489
commit 2c81d1f2d9

@ -479,8 +479,8 @@ var db = require('./database'),
async.each(pids, reIndex, callback);
}
// this function should really be called User.getFavouritePosts
Posts.getFavourites = function(uid, start, end, callback) {
db.getSortedSetRevRange('uid:' + uid + ':favourites', start, end, function(err, pids) {
if (err) {
return callback(err);

Loading…
Cancel
Save