const mongoose = require('mongoose');

module.exports = function (app) {
  mongoose.connect(app.get('mongodb'), {
    useMongoClient: true
  });
  mongoose.Promise = global.Promise;

  app.set('mongooseClient', mongoose);
};

@@ -110,36 +110,8 @@
 ), %7B
-%0A    useMongoClient: true%0A  
 %7D);%0A

Update mongoose.js (#330)