diff options
author | Richard Linden <none@none> | 2011-02-28 22:06:21 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2011-02-28 22:06:21 -0800 |
commit | e02b83c350d9b642baa610829098539f18efa651 (patch) | |
tree | 40ac29e9b318ac6347c8378ca1bd58491708bcaf /indra/newview/llpanelpicks.cpp | |
parent | b68f02fa5433eb5d3dff6edc8941e9fb527678e7 (diff) |
SOCIAL-608 WIP Classified link is available in Basic mode
Diffstat (limited to 'indra/newview/llpanelpicks.cpp')
-rwxr-xr-x | indra/newview/llpanelpicks.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp index c4f3866cad..72db138ef0 100755 --- a/indra/newview/llpanelpicks.cpp +++ b/indra/newview/llpanelpicks.cpp @@ -83,6 +83,12 @@ public: bool handle(const LLSD& params, const LLSD& query_map, LLMediaCtrl* web) { + if (!LLUI::sSettingGroups["config"]->getBOOL("EnablePicks")) + { + LLNotificationsUtil::add("NoPicks"); + return false; + } + // handle app/classified/create urls first if (params.size() == 1 && params[0].asString() == "create") { @@ -189,6 +195,12 @@ public: bool handle(const LLSD& params, const LLSD& query_map, LLMediaCtrl* web) { + if (!LLUI::sSettingGroups["config"]->getBOOL("EnableClassifieds")) + { + LLNotificationsUtil::add("NoClassifieds"); + return false; + } + // handle app/classified/create urls first if (params.size() == 1 && params[0].asString() == "create") { |