From dbe4aff621899160d2f9d7a91b3dbab5d9d1776c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?=
 <rafael.carre@savoirfairelinux.com>
Date: Thu, 28 Jul 2011 13:31:29 -0400
Subject: [PATCH] * #6408 : send authenticationUsername to GUI

remove unused methods from SIPAccount
---
 sflphone-common/src/sip/sipaccount.cpp | 1 +
 sflphone-common/src/sip/sipaccount.h   | 7 -------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/sflphone-common/src/sip/sipaccount.cpp b/sflphone-common/src/sip/sipaccount.cpp
index 14bae3324d..6d53363b4c 100644
--- a/sflphone-common/src/sip/sipaccount.cpp
+++ b/sflphone-common/src/sip/sipaccount.cpp
@@ -507,6 +507,7 @@ std::map<std::string, std::string> SIPAccount::getAccountDetails() const
     a[CONFIG_ACCOUNT_RESOLVE_ONCE] = isResolveOnce() ? "true" : "false";
     a[REALM] = _realm;
     a[USERAGENT] = getUseragent();
+    a[AUTHENTICATION_USERNAME] = _authenticationUsername;
 
     a[CONFIG_ACCOUNT_REGISTRATION_EXPIRE] = getRegistrationExpire();
     a[LOCAL_INTERFACE] = getLocalInterface();
diff --git a/sflphone-common/src/sip/sipaccount.h b/sflphone-common/src/sip/sipaccount.h
index 3e4557498f..97897d18b6 100644
--- a/sflphone-common/src/sip/sipaccount.h
+++ b/sflphone-common/src/sip/sipaccount.h
@@ -236,13 +236,6 @@ class SIPAccount : public Account
             return _cred;
         }
 
-        const std::string& getAuthenticationUsername (void) const {
-            return _authenticationUsername;
-        }
-        void setAuthenticationUsername (const std::string& username) {
-            _authenticationUsername = username;
-        }
-
         bool isResolveOnce (void) const {
             return _resolveOnce;
         }
-- 
GitLab