diff --git a/lib/msf/core/db_manager.rb b/lib/msf/core/db_manager.rb index 2bc00061ee..2c2d55b73a 100644 --- a/lib/msf/core/db_manager.rb +++ b/lib/msf/core/db_manager.rb @@ -130,7 +130,7 @@ class Msf::DBManager # def check ::ActiveRecord::Base.connection_pool.with_connection { - res = ::Mdm::Host.find(:first) + res = ::Mdm::Host.first } end