mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
* refactor: Break out IUserServiceAdmin out of IUserService since admin methods don't need to be implemented on Grid hosted region servers
This commit is contained in:
@@ -383,7 +383,7 @@ namespace OpenSim
|
||||
LocalBackEndServices backendService = new LocalBackEndServices();
|
||||
|
||||
CommunicationsLocal localComms =
|
||||
new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService,
|
||||
new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, userService,
|
||||
inventoryService, backendService, backendService, m_dumpAssetsToFile);
|
||||
m_commsManager = localComms;
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace OpenSim.Region.Communications.Local
|
||||
BaseHttpServer httpServer,
|
||||
AssetCache assetCache,
|
||||
IUserService userService,
|
||||
IUserServiceAdmin userServiceAdmin,
|
||||
LocalInventoryService inventoryService,
|
||||
IInterRegionCommunications interRegionService,
|
||||
IGridServices gridService, bool dumpAssetsToFile)
|
||||
@@ -48,6 +49,7 @@ namespace OpenSim.Region.Communications.Local
|
||||
m_defaultInventoryHost = inventoryService.Host;
|
||||
m_interServiceInventoryService = inventoryService;
|
||||
m_userService = userService;
|
||||
m_userServiceAdmin = userServiceAdmin;
|
||||
m_avatarService = (IAvatarService)userService;
|
||||
m_gridService = gridService;
|
||||
m_interRegion = interRegionService;
|
||||
|
||||
Reference in New Issue
Block a user