mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	change to .exists
This commit is contained in:
		| @@ -30,7 +30,7 @@ require('./diffs')(Posts); | ||||
| require('./uploads')(Posts); | ||||
|  | ||||
| Posts.exists = function (pid, callback) { | ||||
| 	db.isSortedSetMember('posts:pid', pid, callback); | ||||
| 	db.exists('post:' + pid, callback); | ||||
| }; | ||||
|  | ||||
| Posts.getPidsFromSet = function (set, start, stop, reverse, callback) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user