summaryrefslogtreecommitdiff
path: root/indra/newview/llpreview.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-26 09:24:43 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-26 09:24:43 -0400
commitaac6472566675b9c50aee6beb15739db94c6e404 (patch)
tree581fd6bdb92262126d5c40808e1aab8376d1a286 /indra/newview/llpreview.cpp
parentf35a229281c1b9dbec1f6f939e97344ed86d5429 (diff)
parentd843a0d8bef5d36d3a4ef838b1b0335b4532147b (diff)
merge
Diffstat (limited to 'indra/newview/llpreview.cpp')
-rw-r--r--indra/newview/llpreview.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llpreview.cpp b/indra/newview/llpreview.cpp
index 04934b13f1..452efad291 100644
--- a/indra/newview/llpreview.cpp
+++ b/indra/newview/llpreview.cpp
@@ -401,13 +401,6 @@ void LLPreview::onDiscardBtn(void* data)
self->mForceClose = TRUE;
self->closeFloater();
- // Delete the item entirely
- /*
- item->removeFromServer();
- gInventory.deleteObject(item->getUUID());
- gInventory.notifyObservers();
- */
-
// Move the item to the trash
const LLUUID trash_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_TRASH);
if (item->getParentUUID() != trash_id)