summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterforgetuser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterforgetuser.cpp')
-rw-r--r--indra/newview/llfloaterforgetuser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterforgetuser.cpp b/indra/newview/llfloaterforgetuser.cpp
index 6271ccfa18..79aa0d31cc 100644
--- a/indra/newview/llfloaterforgetuser.cpp
+++ b/indra/newview/llfloaterforgetuser.cpp
@@ -138,7 +138,7 @@ void LLFloaterForgetUser::onForgetClicked()
const std::string grid = user_data["grid"];
const std::string user_name = user_data["label"]; // for favorites
- if (delete_data && user_id == LLStartUp::getUserId() && grid == LLGridManager::getInstance()->getGrid())
+ if (delete_data && user_id == LLStartUp::getUserId())
{
// we can't delete data for user that is currently logged in
LLNotificationsUtil::add("LoginCantRemoveCurUsername", LLSD(), LLSD(), boost::bind(onConfirmLogout, _1, _2, user_name));