diff options
Diffstat (limited to 'OpenSim/Region/Modules/AvatarFactory')
-rw-r--r-- | OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs index 1f99a72..b1a138b 100644 --- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -32,10 +32,10 @@ using libsecondlife; | |||
32 | using Nini.Config; | 32 | using Nini.Config; |
33 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | using OpenSim.Framework.Communications.Cache; | 34 | using OpenSim.Framework.Communications.Cache; |
35 | using OpenSim.Framework.Data.MySQLMapper; | ||
36 | using OpenSim.Region.Environment.Interfaces; | 35 | using OpenSim.Region.Environment.Interfaces; |
37 | using OpenSim.Region.Environment.Scenes; | 36 | using OpenSim.Region.Environment.Scenes; |
38 | using OpenSim.Framework.Data.Base; | 37 | using OpenSim.Framework.Data.Base; |
38 | using OpenSim.Framework.Data.MapperFactory; | ||
39 | 39 | ||
40 | namespace OpenSim.Region.Modules.AvatarFactory | 40 | namespace OpenSim.Region.Modules.AvatarFactory |
41 | { | 41 | { |
@@ -227,7 +227,7 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
227 | } | 227 | } |
228 | if (m_enablePersist) | 228 | if (m_enablePersist) |
229 | { | 229 | { |
230 | m_databaseMapper = new MySQLDatabaseMapper(m_connectionString); | 230 | m_databaseMapper = DataMapperFactory.GetDataBaseMapper(DataMapperFactory.MAPPER_TYPE.MYSQL, m_connectionString); |
231 | m_appearanceMapper = new AppearanceTableMapper(m_databaseMapper, "AvatarAppearance"); | 231 | m_appearanceMapper = new AppearanceTableMapper(m_databaseMapper, "AvatarAppearance"); |
232 | } | 232 | } |
233 | } | 233 | } |