up mongodb connect-mongo remove workaround

This commit is contained in:
barisusakli
2016-01-11 17:42:23 +02:00
parent 68ee690e48
commit d44d036b67
2 changed files with 2 additions and 4 deletions

View File

@@ -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
});