diff options
Diffstat (limited to 'kopete/plugins/history/converter.cpp')
-rw-r--r-- | kopete/plugins/history/converter.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/kopete/plugins/history/converter.cpp b/kopete/plugins/history/converter.cpp index ca3c2e74..0872e906 100644 --- a/kopete/plugins/history/converter.cpp +++ b/kopete/plugins/history/converter.cpp @@ -68,13 +68,7 @@ void HistoryPlugin::convertOldHistory() if(accountId.isNull() || protocolId.isNull()) { - if(fi->fileName() == "MSNProtocol" || fi->fileName() == "msn_logs" ) - { - protocolId="MSNProtocol"; - TDEGlobal::config()->setGroup("MSN"); - accountId=TDEGlobal::config()->readEntry( "UserID" ); - } - else if(fi->fileName() == "ICTQProtocol" || fi->fileName() == "icq_logs" ) + if(fi->fileName() == "ICTQProtocol" || fi->fileName() == "icq_logs" ) { protocolId="ICTQProtocol"; TDEGlobal::config()->setGroup("ICQ"); @@ -325,9 +319,7 @@ bool HistoryPlugin::detectOldHistory() if( dynamic_cast<Kopete::Protocol *>( Kopete::PluginManager::self()->plugin( fi->fileName() ) ) ) return true; - if(fi->fileName() == "MSNProtocol" || fi->fileName() == "msn_logs" ) - return true; - else if(fi->fileName() == "ICTQProtocol" || fi->fileName() == "icq_logs" ) + if(fi->fileName() == "ICTQProtocol" || fi->fileName() == "icq_logs" ) return true; else if(fi->fileName() == "AIMProtocol" || fi->fileName() == "aim_logs" ) return true; |