mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	part 2 of search changes
This commit is contained in:
		| @@ -64,7 +64,9 @@ module.exports = function(db, module) { | ||||
| 		if (!id) { | ||||
| 			return callback(); | ||||
| 		} | ||||
| 		db.collection('search').remove({key: key, id: id}, callback); | ||||
| 		db.collection('search').remove({key: key, id: id}, function(err, res) { | ||||
| 			callback(err); | ||||
| 		}); | ||||
| 	}; | ||||
|  | ||||
| 	module.flushdb = function(callback) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user