mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Resolve http://opensimulator.org/mantis/view.php?id=3509 by putting some service initialization into CommsManager
* What is really needed is a plugin and interface request system as being done for region modules
This commit is contained in:
@@ -43,13 +43,8 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||
{
|
||||
protected IGridServiceCore m_core;
|
||||
|
||||
public UserDataBaseService()
|
||||
: base(null)
|
||||
{
|
||||
}
|
||||
|
||||
public UserDataBaseService(IInterServiceInventoryServices interServiceInventoryService)
|
||||
: base(interServiceInventoryService)
|
||||
public UserDataBaseService(CommunicationsManager commsManager)
|
||||
: base(commsManager)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -57,13 +52,6 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||
{
|
||||
m_core = core;
|
||||
|
||||
//we only need core components so we can request them from here
|
||||
IInterServiceInventoryServices inventoryService;
|
||||
if (m_core.TryGet<IInterServiceInventoryServices>(out inventoryService))
|
||||
{
|
||||
m_interServiceInventoryService = inventoryService;
|
||||
}
|
||||
|
||||
UserConfig cfg;
|
||||
if (m_core.TryGet<UserConfig>(out cfg))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user