Commits

Rich Manalang [Atlassian] committed 81683da

removed mongo info

  • Participants
  • Parent commits 56e17fc

Comments (0)

Files changed (1)

-MongoMapper.connection = Mongo::Connection.new('ds031477.mongolab.com',31477, :pool_size => 5, :pool_timeout => 5)
-MongoMapper.database = 'hipchat_notifier'
-MongoMapper.database.authenticate('hipchat_notifier','hipchat')
+MongoMapper.connection = Mongo::Connection.new(ENV['MONGO_HOST'],ENV['MONGO_PORT'], :pool_size => 5, :pool_timeout => 5)
+MongoMapper.database = ENV['MONGO_DB']
+MongoMapper.database.authenticate(ENV['MONGO_USER'],ENV['MONGO_PWD'])
 
 class Registration
   include MongoMapper::Document