Take magent out of the initializer

This commit is contained in:
Raphael 2010-12-10 11:28:55 -08:00
parent 0e77577fbd
commit 461171f6d6

View file

@ -13,5 +13,4 @@ if defined?(PhusionPassenger)
end end
end end
Magent.connection = MongoMapper.connection
puts "Security Warning (11/29/2010): if you are using Diaspora on the internet, please make sure your mongodb is started with '--bind 127.0.0.1' or you are using a database password" puts "Security Warning (11/29/2010): if you are using Diaspora on the internet, please make sure your mongodb is started with '--bind 127.0.0.1' or you are using a database password"