summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-04-15 18:11:04 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-04-15 18:11:04 -0700
commit09594214f5eb7c41f69d2db7b735f05fd59140b1 (patch)
tree911d0551c5bad0a3536742c3c1e80a5b977176d1 /indra/newview
parent8c7d9bbd064c605b756ebf4752eaefad25ee6f4f (diff)
EXP-679 As a linden executive, I would like to evaluate the success of basic mode against various metrics
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lllogininstance.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp
index abcd8588dc..36c5d12897 100644
--- a/indra/newview/lllogininstance.cpp
+++ b/indra/newview/lllogininstance.cpp
@@ -558,6 +558,18 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia
requested_options.append("buddy-list");
requested_options.append("newuser-config");
requested_options.append("ui-config");
+
+ //send this info to login.cgi for stats gathering
+ //since viewerstats isn't reliable enough
+ if (gSavedSettings.getString("SessionSettingsFile").empty())
+ {
+ requested_options.append("advanced-mode");
+ }
+ else
+ {
+ requested_options.append("basic-mode");
+ }
+
#endif
requested_options.append("max-agent-groups");
requested_options.append("map-server-url");