summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/history/converter.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-12-30 15:57:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-12-30 15:57:14 +0100
commitdc34f9c39105b0fe20ba45c064a08406084acbe2 (patch)
tree8c9aa539bbf33b8f6529a9adbc3445da88ba277e /kopete/plugins/history/converter.cpp
parentf6fd4ab6c01a9deb7a1eabb7f8aa908676831eba (diff)
downloadtdenetwork-dc34f9c3.tar.gz
tdenetwork-dc34f9c3.zip
kopete: Remove AIM protocol
AIM network has been shutdown in 2017-12-15 This resolves Bug 2846 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kopete/plugins/history/converter.cpp')
-rw-r--r--kopete/plugins/history/converter.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/kopete/plugins/history/converter.cpp b/kopete/plugins/history/converter.cpp
index 4285309c..44b41fe9 100644
--- a/kopete/plugins/history/converter.cpp
+++ b/kopete/plugins/history/converter.cpp
@@ -68,24 +68,12 @@ void HistoryPlugin::convertOldHistory()
if(accountId.isNull() || protocolId.isNull())
{
- if(fi->fileName() == "ICQProtocol" || fi->fileName() == "icq_logs" )
+ if(fi->fileName() == "ICQProtocol" || fi->fileName() == "icq_logs" )
{
protocolId="ICQProtocol";
TDEGlobal::config()->setGroup("ICQ");
accountId=TDEGlobal::config()->readEntry( "UIN" );
}
- else if(fi->fileName() == "AIMProtocol" || fi->fileName() == "aim_logs" )
- {
- protocolId="AIMProtocol";
- TDEGlobal::config()->setGroup("AIM");
- accountId=TDEGlobal::config()->readEntry( "UserID" );
- }
- else if(fi->fileName() == "OscarProtocol" )
- {
- protocolId="AIMProtocol";
- TDEGlobal::config()->setGroup("OSCAR");
- accountId=TDEGlobal::config()->readEntry( "UserID" );
- }
else if(fi->fileName() == "JabberProtocol" || fi->fileName() == "jabber_logs")
{
protocolId="JabberProtocol";
@@ -319,11 +307,7 @@ bool HistoryPlugin::detectOldHistory()
if( dynamic_cast<Kopete::Protocol *>( Kopete::PluginManager::self()->plugin( fi->fileName() ) ) )
return true;
- if(fi->fileName() == "ICQProtocol" || fi->fileName() == "icq_logs" )
- return true;
- else if(fi->fileName() == "AIMProtocol" || fi->fileName() == "aim_logs" )
- return true;
- else if(fi->fileName() == "OscarProtocol" )
+ if(fi->fileName() == "ICQProtocol" || fi->fileName() == "icq_logs" )
return true;
else if(fi->fileName() == "JabberProtocol" || fi->fileName() == "jabber_logs")
return true;