summaryrefslogtreecommitdiff
path: root/indra/llui/llnotifications.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llnotifications.cpp')
-rw-r--r--indra/llui/llnotifications.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp
index 75b92e47da..4fa4da3f01 100644
--- a/indra/llui/llnotifications.cpp
+++ b/indra/llui/llnotifications.cpp
@@ -35,7 +35,6 @@
#include "llnotifications.h"
#include "llavatarnamecache.h"
-#include "llinstantmessage.h"
#include "llcachename.h"
#include "llxmlnode.h"
#include "lluictrl.h"
@@ -44,7 +43,6 @@
#include "llsdserialize.h"
#include "lltrans.h"
#include "llnotificationslistener.h"
-#include "llstring.h"
#include <algorithm>
#include <boost/regex.hpp>
@@ -1498,7 +1496,6 @@ void LLPostponedNotification::lookupName(LLPostponedNotification* thiz,
gCacheName->getGroup(id,
boost::bind(&LLPostponedNotification::onGroupNameCache,
thiz, _1, _2, _3));
- }
else
{
LLAvatarNameCache::get(id,
@@ -1519,13 +1516,6 @@ void LLPostponedNotification::onAvatarNameCache(const LLUUID& agent_id,
{
std::string name = av_name.getCompleteName();
- // from PE merge - we should figure out if this is the right thing to do
- if (name.empty())
- {
- llwarns << "Empty name received for Id: " << agent_id << llendl;
- name = SYSTEM_FROM;
- }
-
finalizeName(name);
}