Yuki Takei 3 năm trước cách đây
mục cha
commit
625db002a3
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      apps/app/src/server/crowi/index.js

+ 0 - 2
apps/app/src/server/crowi/index.js

@@ -224,8 +224,6 @@ Crowi.prototype.setupDatabase = function() {
   // mongoUri = mongodb://user:password@host/dbname
   const mongoUri = getMongoUri();
 
-  initMongooseGlobalSettings();
-
   return mongoose.connect(mongoUri, mongoOptions);
 };