mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Deleted debug messages. Fixed a null ref exception on the POST handler of GridUserServerPostHandler.cs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user