Deleted debug messages. Fixed a null ref exception on the POST handler of GridUserServerPostHandler.cs

This commit is contained in:
Diva Canto
2013-07-02 16:46:35 -07:00
parent 316e8f9239
commit 4d24bf75fd
3 changed files with 7 additions and 9 deletions

View File

@@ -58,17 +58,14 @@ namespace OpenSim.Services.UserAccountService
{
GridUserData[] ds = m_Database.GetAll(userID);
if (ds == null)
{
m_log.DebugFormat("[GRID USER SERVICE]: user not found {0}", userID);
return null;
}
if (ds.Length > 0)
{
d = ds[0];
foreach (GridUserData dd in ds)
if (dd.UserID.Length > d.UserID.Length) // find the longest
d = dd;
m_log.DebugFormat("[GRID USER SERVICE]: Found user {0}", d.UserID);
}
}