From 2c81d1f2d9924f62a8140a37b4569ffb09805a27 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 6 Feb 2014 16:18:24 -0500 Subject: [PATCH] half hearted deprecation warning (maybe for 0.5x?) --- src/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts.js b/src/posts.js index dd24aeed5a..25e0c2dd4c 100644 --- a/src/posts.js +++ b/src/posts.js @@ -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);