summaryrefslogtreecommitdiff
path: root/indra/llmessage/llassetstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmessage/llassetstorage.cpp')
-rw-r--r--indra/llmessage/llassetstorage.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/indra/llmessage/llassetstorage.cpp b/indra/llmessage/llassetstorage.cpp
index 5b758c88b4..b05636a45c 100644
--- a/indra/llmessage/llassetstorage.cpp
+++ b/indra/llmessage/llassetstorage.cpp
@@ -37,10 +37,6 @@ LLAssetStorage *gAssetStorage = NULL;
const LLUUID CATEGORIZE_LOST_AND_FOUND_ID("00000000-0000-0000-0000-000000000010");
-const F32 LL_ASSET_STORAGE_TIMEOUT = 300.0f; // anything that takes longer than this will abort
-
-
-
///----------------------------------------------------------------------------
/// LLAssetInfo
///----------------------------------------------------------------------------
@@ -817,43 +813,6 @@ void LLAssetStorage::downloadInvItemCompleteCallback(
// Store routines
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// virtual
-void LLAssetStorage::cancelStoreAsset(
- const LLUUID& uuid,
- LLAssetType::EType atype)
-{
- bool do_callback = true;
- LLAssetRequest* req = NULL;
-
- if(mPendingUploads.size() > 0)
- {
- req = mPendingUploads.front();
- if((req->getUUID() == uuid) && (req->getType() == atype))
- {
- // This is probably because the request is in progress - do
- // not attempt to cancel.
- do_callback = false;
- }
- }
-
- if (mPendingLocalUploads.size() > 0)
- {
- req = mPendingLocalUploads.front();
- if((req->getUUID() == uuid) && (req->getType() == atype))
- {
- // This is probably because the request is in progress - do
- // not attempt to cancel.
- do_callback = false;
- }
- }
-
- if (do_callback)
- {
- // clear it out of the upload queue if it is there.
- _callUploadCallbacks(uuid, atype, FALSE);
- }
-}
-
// static
void LLAssetStorage::uploadCompleteCallback(const LLUUID& uuid, void *user_data, S32 result) // StoreAssetData callback (fixed)
{