mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	some checks for purge
This commit is contained in:
		@@ -102,6 +102,10 @@ var async = require('async'),
 | 
			
		||||
		], callback);
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
	Posts.exists = function(pid, callback) {
 | 
			
		||||
		db.isSortedSetMember('posts:pid', pid, callback);
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
	Posts.getPostsByTid = function(tid, set, start, end, uid, reverse, callback) {
 | 
			
		||||
		Posts.getPidsFromSet(set, start, end, reverse, function(err, pids) {
 | 
			
		||||
			if(err) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user