mirror of
https://github.com/opensim/opensim.git
synced 2026-07-15 12:05:49 +08:00
refactor: rename bool returning GetAgentInventoryItem() to CanGetAgentInventoryItem() to improve code readability
This commit is contained in:
@@ -7548,13 +7548,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
IInventoryAccessModule invAccess = m_scene.RequestModuleInterface<IInventoryAccessModule>();
|
||||
if (invAccess != null)
|
||||
{
|
||||
if (!invAccess.GetAgentInventoryItem(this, itemID, requestID))
|
||||
if (!invAccess.CanGetAgentInventoryItem(this, itemID, requestID))
|
||||
return false;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7568,7 +7568,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
AssetUploadRequestPacket request = (AssetUploadRequestPacket)Pack;
|
||||
|
||||
|
||||
// m_log.Debug("upload request " + request.ToString());
|
||||
// m_log.Debug("upload request was for assetid: " + request.AssetBlock.TransactionID.Combine(this.SecureSessionId).ToString());
|
||||
UUID temp = UUID.Combine(request.AssetBlock.TransactionID, SecureSessionId);
|
||||
|
||||
Reference in New Issue
Block a user