Skip to content
Snippets Groups Projects
Commit b4cbc8db authored by Rafaël Carré's avatar Rafaël Carré
Browse files

VoIPLink: simplify, remove unused method

parent 2d2bee81
Branches
Tags
No related merge requests found
...@@ -102,8 +102,5 @@ bool VoIPLink::clearCallMap() ...@@ -102,8 +102,5 @@ bool VoIPLink::clearCallMap()
Account* VoIPLink::getAccountPtr (void) Account* VoIPLink::getAccountPtr (void)
{ {
std::string id; return Manager::instance().getAccount (_accountID);
id = getAccountID();
return Manager::instance().getAccount (id);
} }
...@@ -231,13 +231,6 @@ class VoIPLink ...@@ -231,13 +231,6 @@ class VoIPLink
Account* getAccountPtr (void); Account* getAccountPtr (void);
/**
* @param accountID The account identifier
*/
void setAccountID (const std::string& accountID) {
_accountID = accountID;
}
/** /**
* Get the call pointer from the call map (protected by mutex) * Get the call pointer from the call map (protected by mutex)
* @param id A Call ID * @param id A Call ID
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment