From 2018cf312bd51350f1f71a8ff1c710d0085a6358 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Tue, 12 Feb 2008 22:41:57 +0000
Subject: Refactor: factor a method out of AgentAssetTransactionsManager
---
.../Communications/Cache/AgentAssetTransactionsManager.cs | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
(limited to 'OpenSim/Framework/Communications')
diff --git a/OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs b/OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs
index 70471cc..c9c35d2 100644
--- a/OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs
+++ b/OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs
@@ -81,28 +81,17 @@ namespace OpenSim.Framework.Communications.Cache
/// Get the collection of asset transactions for the given user.
///
///
- ///
+ /// null if this agent does not have an asset transactions collection
public AgentAssetTransactions GetUserTransactions(LLUUID userID)
{
if (AgentTransactions.ContainsKey(userID))
{
return AgentTransactions[userID];
}
+
return null;
}
- public void HandleInventoryFromTransaction(IClientAPI remoteClient, LLUUID transactionID, LLUUID folderID,
- uint callbackID, string description, string name, sbyte invType,
- sbyte type, byte wearableType, uint nextOwnerMask)
- {
- AgentAssetTransactions transactions = GetUserTransactions(remoteClient.AgentId);
- if (transactions != null)
- {
- transactions.RequestCreateInventoryItem(remoteClient, transactionID, folderID, callbackID, description,
- name, invType, type, wearableType, nextOwnerMask);
- }
- }
-
public void HandleUDPUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type,
byte[] data, bool storeLocal, bool tempFile)
{
--
cgit v1.1