summaryrefslogtreecommitdiff
path: root/indra/newview/llgroupmgr.cpp
diff options
context:
space:
mode:
authorBaker Linden <baker@lindenlab.com>2013-09-09 17:29:33 -0700
committerBaker Linden <baker@lindenlab.com>2013-09-09 17:29:33 -0700
commitbf34eccf9c68f204c41d3daea791e50e87d868db (patch)
tree08116a79df27202548789da5d6c56c93a68f9f59 /indra/newview/llgroupmgr.cpp
parent1299f6d63fbe313329e6e5ced7be797e2a23d6a7 (diff)
- Start of code cleanup
- Added refresh button to ban list panel - Added an additional signal to LLNameListCtrl to indicate when the entire name cache is complete.
Diffstat (limited to 'indra/newview/llgroupmgr.cpp')
-rwxr-xr-xindra/newview/llgroupmgr.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/llgroupmgr.cpp b/indra/newview/llgroupmgr.cpp
index bfdb8588e4..7cb53066ea 100755
--- a/indra/newview/llgroupmgr.cpp
+++ b/indra/newview/llgroupmgr.cpp
@@ -235,7 +235,6 @@ LLGroupMgrGroupData::LLGroupMgrGroupData(const LLUUID& id) :
mRoleDataComplete(false),
mRoleMemberDataComplete(false),
mGroupPropertiesDataComplete(false),
- mGroupBanStatus(LLGroupMgrGroupData::STATUS_INIT),
mPendingRoleMemberRequest(false),
mAccessTime(0.0f)
{
@@ -747,14 +746,11 @@ void LLGroupMgrGroupData::cancelRoleChanges()
void LLGroupMgrGroupData::createBanEntry(const LLUUID& ban_id, const LLGroupBanData& ban_data)
{
mBanList[ban_id] = ban_data;
- // Refresh the list
}
void LLGroupMgrGroupData::removeBanEntry(const LLUUID& ban_id)
{
- // Once we get this hooked up to the backend, we want to confirm the create or delete worked.
mBanList.erase(ban_id);
- // Refresh the list
}
@@ -1948,9 +1944,6 @@ void LLGroupMgr::processGroupBanRequest(const LLSD& content)
if (!gdatap)
return;
- //LLSD banlist = LLSD::emptyMap();
-
-
LLSD::map_const_iterator i = content["ban_list"].beginMap();
LLSD::map_const_iterator iEnd = content["ban_list"].endMap();
for(;i != iEnd; ++i)
@@ -1963,7 +1956,7 @@ void LLGroupMgr::processGroupBanRequest(const LLSD& content)
}
gdatap->mChanged = TRUE;
- gdatap->setGroupBanStatus(LLGroupMgrGroupData::STATUS_COMPLETE);
+// gdatap->setGroupBanStatus(LLGroupMgrGroupData::STATUS_COMPLETE);
LLGroupMgr::getInstance()->notifyObservers(GC_BANLIST);
}