diff --git a/daemon/src/managerimpl.cpp b/daemon/src/managerimpl.cpp index 056f9157c0cbcd49d3bede376492b500c9f1e2e2..600e815a35b7f4f47d1ecd24e17fc3b6f0e2d4ba 100644 --- a/daemon/src/managerimpl.cpp +++ b/daemon/src/managerimpl.cpp @@ -2319,13 +2319,6 @@ int ManagerImpl::getLocalIp2IpPort() const return preferences.getPortNum(); } -//THREAD=Main -bool ManagerImpl::getConfig(const std::string& section, - const std::string& name, TokenList& arg) const -{ - return config_.getConfigTreeItemToken(section, name, arg); -} - //THREAD=Main int ManagerImpl::getConfigInt(const std::string& section, const std::string& name) const @@ -2341,7 +2334,7 @@ bool ManagerImpl::getConfigBool(const std::string& section, //THREAD=Main std::string ManagerImpl::getConfigString(const std::string& section, - const std::string& name) const + const std::string& name) const { return config_.getConfigTreeItemValue(section, name); } diff --git a/daemon/src/managerimpl.h b/daemon/src/managerimpl.h index 140f2bfb9c2abdf89c4e39e293fd2ab43d447ea0..f7566eafbb29dabe8fdadc7a5442d675a20a2072 100644 --- a/daemon/src/managerimpl.h +++ b/daemon/src/managerimpl.h @@ -738,16 +738,6 @@ class ManagerImpl { */ std::vector<std::string> getActiveCodecList() const; - /** - * Retrieve in the configuration tree the value of a parameter in a specific section - * @param section The section to look in - * @param name The name of the parameter you want to get - * @param arg Undocumented - * @return bool true on success - * false otherwise - */ - bool getConfig(const std::string& section, const std::string& name, TokenList& arg) const; - /** * Change a specific value in the configuration tree. * This value will then be saved in the user config file sflphonedrc