mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-12 07:30:45 +01:00
moving db.close into the parent module
This commit is contained in:
@@ -5,10 +5,6 @@ var nconf = require('nconf'),
|
||||
|
||||
module.exports = function(db, module) {
|
||||
var helpers = module.helpers.level;
|
||||
|
||||
module.close = function(callback) {
|
||||
db.close(callback);
|
||||
};
|
||||
|
||||
module.searchIndex = function(key, content, id) {
|
||||
// o.O
|
||||
|
||||
Reference in New Issue
Block a user