From 94327cee99431eefad2c8b1b200e7494970c63dc Mon Sep 17 00:00:00 2001 From: Cinders Date: Tue, 25 Jun 2013 22:44:34 -0600 Subject: [PATCH] Remove some unused GridInfo entries --- indra/newview/fsgridhandler.cpp | 21 --------------------- indra/newview/fsgridhandler.h | 3 --- 2 files changed, 24 deletions(-) diff --git a/indra/newview/fsgridhandler.cpp b/indra/newview/fsgridhandler.cpp index 9961a509e9..b7305f7e17 100644 --- a/indra/newview/fsgridhandler.cpp +++ b/indra/newview/fsgridhandler.cpp @@ -564,27 +564,6 @@ void LLGridManager::gridInfoResponderCB(GridEntry* grid_entry) LL_DEBUGS("GridManager") << "[\""<grid[GRID_DIRECTORY_FEE] << LL_ENDL; continue; } - check = "CurrencySymbol"; - if (node->hasName(check)) - { - grid_entry->grid[GRID_CURRENCY_SYMBOL] = node->getTextContents(); - LL_DEBUGS("GridManager") << "[\""<grid[GRID_CURRENCY_SYMBOL] << LL_ENDL; - continue; - } - check = "RealCurrencySymbol"; - if (node->hasName(check)) - { - grid_entry->grid[GRID_REAL_CURRENCY_SYMBOL] = node->getTextContents(); - LL_DEBUGS("GridManager") << "[\""<grid[GRID_REAL_CURRENCY_SYMBOL] << LL_ENDL; - continue; - } - check = "MaxGroups"; - if (node->hasName(check)) - { - grid_entry->grid[GRID_MAXGROUPS] = node->getTextContents(); - LL_DEBUGS("GridManager") << "[\""<grid[GRID_MAXGROUPS] << LL_ENDL; - continue; - } check = "platform"; if (node->hasName(check)) { diff --git a/indra/newview/fsgridhandler.h b/indra/newview/fsgridhandler.h index 8dd6dab5cf..dcb3e7989a 100644 --- a/indra/newview/fsgridhandler.h +++ b/indra/newview/fsgridhandler.h @@ -59,9 +59,6 @@ extern const char* DEFAULT_LOGIN_PAGE; #define GRID_PROFILE_URI_VALUE "profileuri" #define GRID_SENDGRIDINFO "SendGridInfoToViewerOnLogin" #define GRID_DIRECTORY_FEE "DirectoryFee" -#define GRID_CURRENCY_SYMBOL "CurrencySymbol" -#define GRID_REAL_CURRENCY_SYMBOL "RealCurrencySymbol" -#define GRID_MAXGROUPS "MaxGroups" #define GRID_PLATFORM "platform" #define GRID_MESSAGE "message" // Aurora Sim