aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorlbsa712007-10-05 13:12:34 +0000
committerlbsa712007-10-05 13:12:34 +0000
commit82bdf535df7cf295574b83b9e5d3cc8fca991ea6 (patch)
tree844e7d25e575f15a1a6b9dda347bb5c437f38077 /OpenSim
parentSome tiny refactoring (diff)
downloadopensim-SC-82bdf535df7cf295574b83b9e5d3cc8fca991ea6.zip
opensim-SC-82bdf535df7cf295574b83b9e5d3cc8fca991ea6.tar.gz
opensim-SC-82bdf535df7cf295574b83b9e5d3cc8fca991ea6.tar.bz2
opensim-SC-82bdf535df7cf295574b83b9e5d3cc8fca991ea6.tar.xz
* minor refactoring
* using base type IUserService
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/General/Interfaces/IUserService.cs2
-rw-r--r--OpenSim/Region/Communications/Local/CommunicationsLocal.cs9
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
34 { 34 {
35 UserProfileData GetUserProfile(string firstName, string lastName); 35 UserProfileData GetUserProfile(string firstName, string lastName);
36 UserProfileData GetUserProfile(string name); 36 UserProfileData GetUserProfile(string name);
37 UserProfileData GetUserProfile(LLUUID avatarID); 37 UserProfileData GetUserProfile(LLUUID userId);
38 void clearUserAgent(LLUUID avatarID); 38 void clearUserAgent(LLUUID avatarID);
39 39
40 UserProfileData SetupMasterUser(string firstName, string lastName); 40 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 @@
25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26* 26*
27*/ 27*/
28using System;
29using libsecondlife;
30using OpenSim.Framework.Communications; 28using OpenSim.Framework.Communications;
31using OpenSim.Framework.Communications.Cache; 29using OpenSim.Framework.Communications.Cache;
32using OpenSim.Framework.Console; 30using OpenSim.Framework.Interfaces;
33using OpenSim.Framework.Data;
34using OpenSim.Framework.Servers; 31using OpenSim.Framework.Servers;
35using OpenSim.Framework.Types; 32using OpenSim.Framework.Types;
36using OpenSim.Framework.Utilities;
37using OpenSim.Framework.Interfaces;
38 33
39namespace OpenSim.Region.Communications.Local 34namespace OpenSim.Region.Communications.Local
40{ 35{
41 public class CommunicationsLocal : CommunicationsManager 36 public class CommunicationsLocal : CommunicationsManager
42 { 37 {
43 public CommunicationsLocal(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache, IUserService userService, LocalInventoryService inventoryService, IInterRegionCommunications interRegionService, IGridServices gridService) 38 public CommunicationsLocal(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache, IUserService userService, LocalInventoryService inventoryService, IInterRegionCommunications interRegionService, IGridServices gridService)
44 : base(serversInfo, httpServer, assetCache) 39 : base(serversInfo, httpServer, assetCache)
45 { 40 {
46 m_inventoryService = inventoryService; 41 m_inventoryService = inventoryService;