mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-04 15:37:50 +02: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