mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	half hearted deprecation warning (maybe for 0.5x?)
This commit is contained in:
		| @@ -479,8 +479,8 @@ var db = require('./database'), | |||||||
| 		async.each(pids, reIndex, callback); | 		async.each(pids, reIndex, callback); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | 	// this function should really be called User.getFavouritePosts | ||||||
| 	Posts.getFavourites = function(uid, start, end, callback) { | 	Posts.getFavourites = function(uid, start, end, callback) { | ||||||
|  |  | ||||||
| 		db.getSortedSetRevRange('uid:' + uid + ':favourites', start, end, function(err, pids) { | 		db.getSortedSetRevRange('uid:' + uid + ':favourites', start, end, function(err, pids) { | ||||||
| 			if (err) { | 			if (err) { | ||||||
| 				return callback(err); | 				return callback(err); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user