Backed out changeset c6d43bf65bd5 because I was wrong - or rather LL's code comments are

meow-7.2.2
Ansariel 2015-10-18 23:52:28 +02:00
parent b89ec79e87
commit 5206bf999a
1 changed files with 1 additions and 6 deletions

View File

@ -1640,12 +1640,7 @@ void LLFavoritesOrderStorage::load()
in_file.close();
// <FS:Ansariel> FIRE-10122 - User@grid stored_favorites.xml
//user_llsd = fav_llsd[gAgentUsername];
std::string username = gAgentUsername;
if (username.find(" ") == std::string::npos)
{
username += " Resident";
}
user_llsd = fav_llsd[username + " @ " + LLGridManager::getInstance()->getGridLabel()];
user_llsd = fav_llsd[gAgentUsername + " @ " + LLGridManager::getInstance()->getGridLabel()];
// </FS:Ansariel>
S32 index = 0;