aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.DB4o
diff options
context:
space:
mode:
authorlbsa712007-10-05 13:54:16 +0000
committerlbsa712007-10-05 13:54:16 +0000
commitd4a4aafaf15360c0f5db22145a60bae87e6bb9c6 (patch)
tree72915aa8a9f3777a52fe8677c764a192d448e492 /OpenSim/Framework/Data.DB4o
parent* minor refactoring (diff)
downloadopensim-SC-d4a4aafaf15360c0f5db22145a60bae87e6bb9c6.zip
opensim-SC-d4a4aafaf15360c0f5db22145a60bae87e6bb9c6.tar.gz
opensim-SC-d4a4aafaf15360c0f5db22145a60bae87e6bb9c6.tar.bz2
opensim-SC-d4a4aafaf15360c0f5db22145a60bae87e6bb9c6.tar.xz
* So, ok, maybe renaming serialized fields on a friday wasn't the smartest of things. Reverting 2056.
Diffstat (limited to 'OpenSim/Framework/Data.DB4o')
-rw-r--r--OpenSim/Framework/Data.DB4o/DB4oUserData.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs
index e6a856d..38f1b55 100644
--- a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs
+++ b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs
@@ -83,7 +83,7 @@ namespace OpenSim.Framework.Data.DB4o
83 { 83 {
84 foreach (UserProfileData profile in manager.userProfiles.Values) 84 foreach (UserProfileData profile in manager.userProfiles.Values)
85 { 85 {
86 if (profile.Firstname == fname && profile.Lastname == lname) 86 if (profile.username == fname && profile.surname == lname)
87 return profile; 87 return profile;
88 } 88 }
89 return null; 89 return null;
@@ -98,7 +98,7 @@ namespace OpenSim.Framework.Data.DB4o
98 { 98 {
99 try 99 try
100 { 100 {
101 return GetUserByUUID(uuid).CurrentAgent; 101 return GetUserByUUID(uuid).currentAgent;
102 } 102 }
103 catch (Exception) 103 catch (Exception)
104 { 104 {
@@ -126,7 +126,7 @@ namespace OpenSim.Framework.Data.DB4o
126 { 126 {
127 try 127 try
128 { 128 {
129 return GetUserByName(fname,lname).CurrentAgent; 129 return GetUserByName(fname,lname).currentAgent;
130 } 130 }
131 catch (Exception) 131 catch (Exception)
132 { 132 {