diff options
author | lbsa71 | 2007-09-24 07:53:26 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-24 07:53:26 +0000 |
commit | ee5f069e2a9ade289ef5b992e07946a7bbe7ddc0 (patch) | |
tree | 4f52edd8d969877d0519000ff497a0bf2d268d43 /OpenSim | |
parent | * Started major restructusing of comms to prepare for better grid and region ... (diff) | |
download | opensim-SC-ee5f069e2a9ade289ef5b992e07946a7bbe7ddc0.zip opensim-SC-ee5f069e2a9ade289ef5b992e07946a7bbe7ddc0.tar.gz opensim-SC-ee5f069e2a9ade289ef5b992e07946a7bbe7ddc0.tar.bz2 opensim-SC-ee5f069e2a9ade289ef5b992e07946a7bbe7ddc0.tar.xz |
* Now there's only one UserService
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Communications/Local/CommunicationsLocal.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs index ea972dc..4ddd9ea 100644 --- a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs +++ b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs | |||
@@ -40,7 +40,7 @@ namespace OpenSim.Region.Communications.Local | |||
40 | public class CommunicationsLocal : CommunicationsManager | 40 | public class CommunicationsLocal : CommunicationsManager |
41 | { | 41 | { |
42 | public LocalBackEndServices InstanceServices; | 42 | public LocalBackEndServices InstanceServices; |
43 | public IUserServices UserServices; | 43 | |
44 | public LocalLoginService LoginServices; | 44 | public LocalLoginService LoginServices; |
45 | 45 | ||
46 | protected LocalSettings m_settings; | 46 | protected LocalSettings m_settings; |
@@ -63,8 +63,8 @@ namespace OpenSim.Region.Communications.Local | |||
63 | 63 | ||
64 | LocalUserServices userService = new LocalUserServices(this, serversInfo); | 64 | LocalUserServices userService = new LocalUserServices(this, serversInfo); |
65 | userService.AddPlugin(m_settings.UserDatabasePlugin); | 65 | userService.AddPlugin(m_settings.UserDatabasePlugin); |
66 | UserServices = userService; | 66 | |
67 | m_userService = UserServices; | 67 | m_userService = userService; |
68 | 68 | ||
69 | InstanceServices = new LocalBackEndServices(); | 69 | InstanceServices = new LocalBackEndServices(); |
70 | m_gridService = InstanceServices; | 70 | m_gridService = InstanceServices; |
@@ -118,7 +118,7 @@ namespace OpenSim.Region.Communications.Local | |||
118 | { | 118 | { |
119 | string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(password) + ":" + ""); | 119 | string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(password) + ":" + ""); |
120 | 120 | ||
121 | this.UserServices.AddUserProfile(firstName, lastName, md5PasswdHash, regX, regY); | 121 | m_userService.AddUserProfile(firstName, lastName, md5PasswdHash, regX, regY); |
122 | UserProfileData userProf = this.UserService.GetUserProfile(firstName, lastName); | 122 | UserProfileData userProf = this.UserService.GetUserProfile(firstName, lastName); |
123 | if (userProf == null) | 123 | if (userProf == null) |
124 | { | 124 | { |