aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserService/UserServiceBase.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-09-07 18:26:53 +0100
committerJustin Clark-Casey (justincc)2009-09-07 18:26:53 +0100
commit116933bee5adfa4a3c1815fb7f3866bdaa584c41 (patch)
treeb1aaf689ad7c9ef07e495e94d64f5978a1d5c9c3 /OpenSim/Services/UserService/UserServiceBase.cs
parentT012_EstateSettingsRandomStorage() which wasn't being run because the method ... (diff)
parentMerge branch 'master' of ssh://MyConnection/var/git/opensim (diff)
downloadopensim-SC_OLD-116933bee5adfa4a3c1815fb7f3866bdaa584c41.zip
opensim-SC_OLD-116933bee5adfa4a3c1815fb7f3866bdaa584c41.tar.gz
opensim-SC_OLD-116933bee5adfa4a3c1815fb7f3866bdaa584c41.tar.bz2
opensim-SC_OLD-116933bee5adfa4a3c1815fb7f3866bdaa584c41.tar.xz
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Services/UserService/UserServiceBase.cs')
-rw-r--r--OpenSim/Services/UserService/UserServiceBase.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/UserService/UserServiceBase.cs b/OpenSim/Services/UserService/UserServiceBase.cs
index c982c1a..fea8b01 100644
--- a/OpenSim/Services/UserService/UserServiceBase.cs
+++ b/OpenSim/Services/UserService/UserServiceBase.cs
@@ -36,7 +36,7 @@ namespace OpenSim.Services.UserAccountService
36{ 36{
37 public class UserAccountServiceBase: ServiceBase 37 public class UserAccountServiceBase: ServiceBase
38 { 38 {
39 protected IUserDataPlugin m_Database = null; 39 protected IUserAccountData m_Database = null;
40 40
41 public UserAccountServiceBase(IConfigSource config) : base(config) 41 public UserAccountServiceBase(IConfigSource config) : base(config)
42 { 42 {
@@ -53,12 +53,12 @@ namespace OpenSim.Services.UserAccountService
53 string connString = userConfig.GetString("ConnectionString", 53 string connString = userConfig.GetString("ConnectionString",
54 String.Empty); 54 String.Empty);
55 55
56 m_Database = LoadPlugin<IUserDataPlugin>(dllName); 56 string realm = userConfig.GetString("Realm", "users");
57
58 m_Database = LoadPlugin<IUserAccountData>(dllName, new Object[] {connString, realm});
57 59
58 if (m_Database == null) 60 if (m_Database == null)
59 throw new Exception("Could not find a storage interface in the given module"); 61 throw new Exception("Could not find a storage interface in the given module");
60
61 m_Database.Initialise(connString);
62 } 62 }
63 } 63 }
64} 64}