mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
up mongodb connect-mongo remove workaround
This commit is contained in:
@@ -106,8 +106,6 @@
|
||||
module.client = db;
|
||||
|
||||
if (!nconf.get('redis')) {
|
||||
// TEMP: to fix connect-mongo, see https://github.com/kcbanner/connect-mongo/issues/161
|
||||
db.openCalled = true;
|
||||
module.sessionStore = new sessionStore({
|
||||
db: db
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user