mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	moving db.close into the parent module
This commit is contained in:
		| @@ -4,10 +4,7 @@ var winston = require('winston'); | ||||
|  | ||||
| module.exports = function(db, module) { | ||||
| 	var helpers = module.helpers.mongo; | ||||
| 	 | ||||
| 	module.close = function() { | ||||
| 		db.close(); | ||||
| 	}; | ||||
|  | ||||
|  | ||||
| 	module.searchIndex = function(key, content, id) { | ||||
| 		var data = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user