summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbuycurrency.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-06-12 18:27:05 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-06-12 18:27:05 -0700
commitd42d78a58a6b3bd40029629fbaa6b5925623efd3 (patch)
treee66b557eff99cc7316951c202fd77d6e499fded5 /indra/newview/llfloaterbuycurrency.cpp
parent5a76b1dc2fcb5b81c0c8f2a6c1539a23441260f6 (diff)
EXP-1941: Backed out changeset: 2f6546ac7e5e
Diffstat (limited to 'indra/newview/llfloaterbuycurrency.cpp')
-rw-r--r--indra/newview/llfloaterbuycurrency.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llfloaterbuycurrency.cpp b/indra/newview/llfloaterbuycurrency.cpp
index 3e7d265cdf..e21a8594bc 100644
--- a/indra/newview/llfloaterbuycurrency.cpp
+++ b/indra/newview/llfloaterbuycurrency.cpp
@@ -41,9 +41,6 @@
#include "llweb.h"
#include "llwindow.h"
#include "llappviewer.h"
-#ifndef STINSON_ADULT_CHECK_HACK
-#include "llviewercontrol.h"
-#endif // STINSON_ADULT_CHECK_HACK
static const S32 STANDARD_BUY_AMOUNT = 2000;
static const S32 MINIMUM_BALANCE_AMOUNT = 0;
@@ -159,11 +156,7 @@ void LLFloaterBuyCurrencyUI::draw()
}
// disable the Buy button when we are not able to buy
-#ifndef STINSON_ADULT_CHECK_HACK
- getChildView("buy_btn")->setEnabled(gSavedSettings.getBOOL("AdultCheckEnablePurchse") || mManager.canBuy());
-#else // STINSON_ADULT_CHECK_HACK
getChildView("buy_btn")->setEnabled(mManager.canBuy());
-#endif // STINSON_ADULT_CHECK_HACK
LLFloater::draw();
}