summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationlog.cpp
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2013-02-06 20:51:14 +0200
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2013-02-06 20:51:14 +0200
commitec0ac12eba9d944ade7bd734226a03ea2eb47229 (patch)
treebb166c3faf3f6f9756cf6a95009737b7b66b1b16 /indra/newview/llconversationlog.cpp
parentf944608ab93199a5588ec2c969268b094b8be7c8 (diff)
CHUI-712 FIXED IM log files renamed with ll.txt will create double files for users
Diffstat (limited to 'indra/newview/llconversationlog.cpp')
-rw-r--r--indra/newview/llconversationlog.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/newview/llconversationlog.cpp b/indra/newview/llconversationlog.cpp
index c5be2f59be..82176b3a06 100644
--- a/indra/newview/llconversationlog.cpp
+++ b/indra/newview/llconversationlog.cpp
@@ -532,14 +532,8 @@ void LLConversationLog::onClearLogResponse(const LLSD& notification, const LLSD&
{
if (0 == LLNotificationsUtil::getSelectedOption(notification, response))
{
- deleteTranscripts();
+ LLLogChat::deleteTranscripts();
mConversations.clear();
notifyObservers();
}
}
-
-void LLConversationLog::deleteTranscripts()
-{
- gDirUtilp->deleteFilesInDir(gDirUtilp->getPerAccountChatLogsDir(), "*." + LL_TRANSCRIPT_FILE_EXTENSION);
- LLFloaterIMSessionTab::processChatHistoryStyleUpdate(true);
-}