diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2020-01-07 00:52:04 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2020-01-07 00:52:04 +0200 |
commit | 19caca91e98e41187f76c9925c31b8fba33c2902 (patch) | |
tree | 39c78f3eae946a94edde6a3157f0039019230e99 /indra/newview/llstartup.cpp | |
parent | 37ca582a2dacfbe7cbb37d2e9ecddca0a9bc8ed7 (diff) |
SL-12486 Better data deletion
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r-- | indra/newview/llstartup.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 08012686f9..684d3bd421 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2715,6 +2715,15 @@ std::string& LLStartUp::getInitialOutfitName() return sInitialOutfit; } +std::string LLStartUp::getUserId() +{ + if (gUserCredential.isNull()) + { + return ""; + } + return gUserCredential->userID(); +} + // Loads a bitmap to display during load void init_start_screen(S32 location_id) { |