From 3dd14d02146b10cd5d7768f15f7d0994c90806d6 Mon Sep 17 00:00:00 2001
From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
Date: Tue, 10 Feb 2009 12:44:12 -0500
Subject: [PATCH] Daemon less verbose; accounts don't try to access STUn
 options anymore

---
 src/dbus/configurationmanager.cpp | 1 -
 src/managerimpl.cpp               | 7 -------
 2 files changed, 8 deletions(-)

diff --git a/src/dbus/configurationmanager.cpp b/src/dbus/configurationmanager.cpp
index 290a8187d1..e2caf05e47 100644
--- a/src/dbus/configurationmanager.cpp
+++ b/src/dbus/configurationmanager.cpp
@@ -36,7 +36,6 @@ const char* ConfigurationManager::SERVER_PATH = "/org/sflphone/SFLphone/Configur
 	std::map< std::string, std::string > 
 ConfigurationManager::getAccountDetails( const std::string& accountID )
 {
-	_debug("ConfigurationManager::getAccountDetails received\n");
 	return Manager::instance().getAccountDetails(accountID);
 }
 
diff --git a/src/managerimpl.cpp b/src/managerimpl.cpp
index 7149082b2d..f8ea5fe728 100644
--- a/src/managerimpl.cpp
+++ b/src/managerimpl.cpp
@@ -1975,13 +1975,6 @@ std::map< std::string, std::string > ManagerImpl::getAccountDetails(const Accoun
   a.insert( std::pair<std::string, std::string>( HOSTNAME, getConfigString(accountID, HOSTNAME) ) );
   a.insert( std::pair<std::string, std::string>( CONFIG_ACCOUNT_MAILBOX, getConfigString(accountID, CONFIG_ACCOUNT_MAILBOX)) );
   
-  // SIP SPECIFIC
-  if( accountType == "SIP")
-  {
-    a.insert( std::pair<std::string, std::string>( SIP_STUN_SERVER, getConfigString(accountID, SIP_STUN_SERVER) ) );
-    a.insert( std::pair<std::string, std::string>( SIP_USE_STUN, getConfigString(accountID, SIP_USE_STUN) == "1" ? "TRUE": "FALSE"));
-  }
-
   return a;
 }
 
-- 
GitLab