diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-05-23 19:29:17 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-05-23 19:29:17 -0700 |
commit | 7fc6d3d79b0e28a450b097c923387de133cc4545 (patch) | |
tree | 106d973af0d63930ace5f09ac8a6596de5c4fe36 /indra/newview/llagentaccess.cpp | |
parent | e76d7d73c5867b6e662672c88244c38b49d34d0d (diff) |
Removing some code that allowed the viewer to toggle the user's maturity access level. But only toggling it in the viewer leads to some really bad discontinuities with the server's actual access level for the user.
Diffstat (limited to 'indra/newview/llagentaccess.cpp')
-rw-r--r-- | indra/newview/llagentaccess.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/llagentaccess.cpp b/indra/newview/llagentaccess.cpp index bf2a78e7f5..c4ee321e04 100644 --- a/indra/newview/llagentaccess.cpp +++ b/indra/newview/llagentaccess.cpp @@ -132,18 +132,6 @@ bool LLAgentAccess::isAdult() const return mAccess >= SIM_ACCESS_ADULT; } -void LLAgentAccess::setTeen(bool teen) -{ - if (teen) - { - mAccess = SIM_ACCESS_PG; - } - else - { - mAccess = SIM_ACCESS_MATURE; - } -} - //static int LLAgentAccess::convertTextToMaturity(char text) { |