summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelmarketplaceinboxinventory.cpp42
-rw-r--r--indra/newview/llpanelmarketplaceinboxinventory.h4
2 files changed, 1 insertions, 45 deletions
diff --git a/indra/newview/llpanelmarketplaceinboxinventory.cpp b/indra/newview/llpanelmarketplaceinboxinventory.cpp
index cc6bf509d3..5dff73ee6a 100644
--- a/indra/newview/llpanelmarketplaceinboxinventory.cpp
+++ b/indra/newview/llpanelmarketplaceinboxinventory.cpp
@@ -191,46 +191,4 @@ void LLInboxFolderViewFolder::setCreationDate(time_t creation_date_utc) const
}
-time_t LLInboxFolderViewFolder::getCreationDate() const
-{
- // folders have no creation date try to create one from an item somewhere in our folder hierarchy
- if (!mCreationDate)
- {
- for (items_t::const_iterator iit = mItems.begin();
- iit != mItems.end(); ++iit)
- {
- LLFolderViewItem* itemp = (*iit);
-
- const time_t item_creation_date = itemp->getCreationDate();
-
- if (item_creation_date)
- {
- mCreationDate = item_creation_date;
- updateFlag();
- break;
- }
- }
-
- if (!mCreationDate)
- {
- for (folders_t::const_iterator fit = mFolders.begin();
- fit != mFolders.end(); ++fit)
- {
- LLFolderViewFolder* folderp = (*fit);
-
- const time_t folder_creation_date = folderp->getCreationDate();
-
- if (folder_creation_date)
- {
- mCreationDate = folder_creation_date;
- updateFlag();
- break;
- }
- }
- }
- }
-
- return llmax<time_t>(mCreationDate, mSubtreeCreationDate);
-}
-
// eof
diff --git a/indra/newview/llpanelmarketplaceinboxinventory.h b/indra/newview/llpanelmarketplaceinboxinventory.h
index 1ac680e5de..7b124fdccc 100644
--- a/indra/newview/llpanelmarketplaceinboxinventory.h
+++ b/indra/newview/llpanelmarketplaceinboxinventory.h
@@ -68,9 +68,7 @@ public:
~LLInboxFolderViewFolder();
void draw();
-
- time_t getCreationDate() const;
-
+
void updateFlag() const;
void selectItem();
void toggleOpen();