diff options
author | James Cook <james@lindenlab.com> | 2010-04-15 16:20:29 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-04-15 16:20:29 -0700 |
commit | fedfbbb8d8696044cace410365e348b20a1e2420 (patch) | |
tree | 8599360060d6af815ba859b21747afa88621d354 /indra | |
parent | c70c2631f0dc1db46fa5e6088605e21f5e3743ba (diff) |
Remove hack to set display name by talking directly to name service
This means display names will only work on grids with name code deployed
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewerdisplayname.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/indra/newview/llviewerdisplayname.cpp b/indra/newview/llviewerdisplayname.cpp index 9739c7fbc1..1cfada48ad 100644 --- a/indra/newview/llviewerdisplayname.cpp +++ b/indra/newview/llviewerdisplayname.cpp @@ -70,14 +70,9 @@ void LLViewerDisplayName::set(const std::string& display_name, const set_name_sl std::string cap_url = region->getCapability("SetDisplayName"); if (cap_url.empty()) { - // JAMESDEBUG HACK for demos, fall back to prototype name service - llinfos << "Set name via legacy service" << llendl; - LLAvatarNameCache::setDisplayName(gAgent.getID(), display_name, slot); - return; - // this server does not support display names, report error - //slot(false, "unsupported", LLSD()); - //return; + slot(false, "unsupported", LLSD()); + return; } llinfos << "Set name POST to " << cap_url << llendl; |