aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorDiva Canto2013-07-02 16:46:35 -0700
committerDiva Canto2013-07-02 16:46:35 -0700
commit4d24bf75fd695a12683987d9803018c2ec4cae60 (patch)
treee6bff84a06ba9aaa9ebb5099fba32027a1a9b486 /OpenSim/Services
parentFix SQL statement (diff)
downloadopensim-SC_OLD-4d24bf75fd695a12683987d9803018c2ec4cae60.zip
opensim-SC_OLD-4d24bf75fd695a12683987d9803018c2ec4cae60.tar.gz
opensim-SC_OLD-4d24bf75fd695a12683987d9803018c2ec4cae60.tar.bz2
opensim-SC_OLD-4d24bf75fd695a12683987d9803018c2ec4cae60.tar.xz
Deleted debug messages. Fixed a null ref exception on the POST handler of GridUserServerPostHandler.cs
Diffstat (limited to 'OpenSim/Services')
-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