mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	feat: remove uid:<uid>:ignored:cids (#7099)
use cid:<cid>:ignorers instead
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							7a9299f374
						
					
				
				
					commit
					263c918088
				
			| @@ -339,8 +339,8 @@ module.exports = function (db, module) { | ||||
| 	}; | ||||
|  | ||||
| 	module.isMemberOfSortedSets = function (keys, value, callback) { | ||||
| 		if (!Array.isArray(keys)) { | ||||
| 			return callback(); | ||||
| 		if (!Array.isArray(keys) || !keys.length) { | ||||
| 			return setImmediate(callback, null, []); | ||||
| 		} | ||||
| 		value = helpers.valueToString(value); | ||||
| 		db.collection('objects').find({ _key: { $in: keys }, value: value }, { projection: { _id: 0, score: 0 } }).toArray(function (err, results) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user