From 82bdf535df7cf295574b83b9e5d3cc8fca991ea6 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 5 Oct 2007 13:12:34 +0000 Subject: * minor refactoring * using base type IUserService --- OpenSim/Framework/General/Interfaces/IUserService.cs | 2 +- OpenSim/Region/Communications/Local/CommunicationsLocal.cs | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/OpenSim/Framework/General/Interfaces/IUserService.cs b/OpenSim/Framework/General/Interfaces/IUserService.cs index 461d4cb..f8c76af 100644 --- a/OpenSim/Framework/General/Interfaces/IUserService.cs +++ b/OpenSim/Framework/General/Interfaces/IUserService.cs @@ -34,7 +34,7 @@ namespace OpenSim.Framework.Interfaces { UserProfileData GetUserProfile(string firstName, string lastName); UserProfileData GetUserProfile(string name); - UserProfileData GetUserProfile(LLUUID avatarID); + UserProfileData GetUserProfile(LLUUID userId); void clearUserAgent(LLUUID avatarID); UserProfileData SetupMasterUser(string firstName, string lastName); diff --git a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs index 3bfcd8e..e57e445 100644 --- a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs +++ b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs @@ -25,22 +25,17 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ -using System; -using libsecondlife; using OpenSim.Framework.Communications; using OpenSim.Framework.Communications.Cache; -using OpenSim.Framework.Console; -using OpenSim.Framework.Data; +using OpenSim.Framework.Interfaces; using OpenSim.Framework.Servers; using OpenSim.Framework.Types; -using OpenSim.Framework.Utilities; -using OpenSim.Framework.Interfaces; namespace OpenSim.Region.Communications.Local { public class CommunicationsLocal : CommunicationsManager { - public CommunicationsLocal(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache, IUserService userService, LocalInventoryService inventoryService, IInterRegionCommunications interRegionService, IGridServices gridService) + public CommunicationsLocal(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache, IUserService userService, LocalInventoryService inventoryService, IInterRegionCommunications interRegionService, IGridServices gridService) : base(serversInfo, httpServer, assetCache) { m_inventoryService = inventoryService; -- cgit v1.1