aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer.Modules/UserDataBaseService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/UserServer.Modules/UserDataBaseService.cs')
-rw-r--r--OpenSim/Grid/UserServer.Modules/UserDataBaseService.cs16
1 files changed, 2 insertions, 14 deletions
diff --git a/OpenSim/Grid/UserServer.Modules/UserDataBaseService.cs b/OpenSim/Grid/UserServer.Modules/UserDataBaseService.cs
index 485dd46..51f9708 100644
--- a/OpenSim/Grid/UserServer.Modules/UserDataBaseService.cs
+++ b/OpenSim/Grid/UserServer.Modules/UserDataBaseService.cs
@@ -43,13 +43,8 @@ namespace OpenSim.Grid.UserServer.Modules
43 { 43 {
44 protected IGridServiceCore m_core; 44 protected IGridServiceCore m_core;
45 45
46 public UserDataBaseService() 46 public UserDataBaseService(CommunicationsManager commsManager)
47 : base(null) 47 : base(commsManager)
48 {
49 }
50
51 public UserDataBaseService(IInterServiceInventoryServices interServiceInventoryService)
52 : base(interServiceInventoryService)
53 { 48 {
54 } 49 }
55 50
@@ -57,13 +52,6 @@ namespace OpenSim.Grid.UserServer.Modules
57 { 52 {
58 m_core = core; 53 m_core = core;
59 54
60 //we only need core components so we can request them from here
61 IInterServiceInventoryServices inventoryService;
62 if (m_core.TryGet<IInterServiceInventoryServices>(out inventoryService))
63 {
64 m_interServiceInventoryService = inventoryService;
65 }
66
67 UserConfig cfg; 55 UserConfig cfg;
68 if (m_core.TryGet<UserConfig>(out cfg)) 56 if (m_core.TryGet<UserConfig>(out cfg))
69 { 57 {