aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/GridUserService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/UserAccountService/GridUserService.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Services/UserAccountService/GridUserService.cs b/OpenSim/Services/UserAccountService/GridUserService.cs
index af2701d..fa9a4a8 100644
--- a/OpenSim/Services/UserAccountService/GridUserService.cs
+++ b/OpenSim/Services/UserAccountService/GridUserService.cs
@@ -58,17 +58,14 @@ namespace OpenSim.Services.UserAccountService
58 { 58 {
59 GridUserData[] ds = m_Database.GetAll(userID); 59 GridUserData[] ds = m_Database.GetAll(userID);
60 if (ds == null) 60 if (ds == null)
61 {
62 m_log.DebugFormat("[GRID USER SERVICE]: user not found {0}", userID);
63 return null; 61 return null;
64 } 62
65 if (ds.Length > 0) 63 if (ds.Length > 0)
66 { 64 {
67 d = ds[0]; 65 d = ds[0];
68 foreach (GridUserData dd in ds) 66 foreach (GridUserData dd in ds)
69 if (dd.UserID.Length > d.UserID.Length) // find the longest 67 if (dd.UserID.Length > d.UserID.Length) // find the longest
70 d = dd; 68 d = dd;
71 m_log.DebugFormat("[GRID USER SERVICE]: Found user {0}", d.UserID);
72 } 69 }
73 } 70 }
74 71