mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Update svn properties. Formatting cleanup.
This commit is contained in:
@@ -119,7 +119,9 @@ namespace OpenSim.Grid.UserServer
|
||||
RegionProfileData.RequestSimProfileData(
|
||||
theUser.HomeRegion, m_config.GridServerURL,
|
||||
m_config.GridSendKey, m_config.GridRecvKey);
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
start_x = Convert.ToInt32(startLocationRequestParsed[1]);
|
||||
start_y = Convert.ToInt32(startLocationRequestParsed[2]);
|
||||
start_z = Convert.ToInt32(startLocationRequestParsed[3]);
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace OpenSim.Grid.UserServer
|
||||
/// <param name="httpRequest">HTTP request header object</param>
|
||||
/// <param name="httpResponse">HTTP response header object</param>
|
||||
/// <returns>Success "OK" else error</returns>
|
||||
public string RestDeleteUserSessionMethod(string request, string path, string param,
|
||||
public string RestDeleteUserSessionMethod(string request, string path, string param,
|
||||
OSHttpRequest httpRequest, OSHttpResponse httpResponse)
|
||||
{
|
||||
// TODO! Important!
|
||||
@@ -260,11 +260,14 @@ namespace OpenSim.Grid.UserServer
|
||||
if (requestData.Contains("owner"))
|
||||
{
|
||||
appearance = GetUserAppearance(new LLUUID((string)requestData["owner"]));
|
||||
if (appearance == null) {
|
||||
if (appearance == null)
|
||||
{
|
||||
responseData = new Hashtable();
|
||||
responseData["error_type"] = "no appearance";
|
||||
responseData["error_desc"] = "There was no appearance found for this avatar";
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
responseData = appearance.ToHashTable();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user