summaryrefslogtreecommitdiff
path: root/indra/newview/llpreview.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-25 17:09:05 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-25 17:09:05 -0400
commitd843a0d8bef5d36d3a4ef838b1b0335b4532147b (patch)
tree8861ebcde11e00cc7b900de7bd4cef8869730357 /indra/newview/llpreview.cpp
parente60cb90b632d175690f48b783ece272deff524cd (diff)
SH-4137 WIP - added callback-based support for purge descendents, remove category
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)