Commit 65690e30 authored by Alexandre Bourget's avatar Alexandre Bourget

Take out getEvents() unintuitive call, and replace by calling directly initRegisterAccounts()

parent 8611345d
......@@ -33,7 +33,8 @@ DBusManagerImpl::exec(){
_callManager = new CallManager(conn);
_configurationManager = new ConfigurationManager(conn);
Manager::instance().getEvents(); // Register accounts
// Register accounts
Manager::instance().initRegisterAccounts(); //getEvents();
_debug("Starting DBus event loop\n");
_dispatcher.enter();
......
......@@ -1252,11 +1252,14 @@ ManagerImpl::detachZeroconfEvents(Pattern::Observer& observer)
*
* @todo When is this called ? Why this name 'getEvents' ?
*/
/**
* DEPRECATED
bool
ManagerImpl::getEvents() {
initRegisterAccounts();
return true;
}
*/
// TODO: rewrite this
/**
......
......@@ -212,8 +212,10 @@ public:
* This function should definitively be renamed!
*
* @todo Receive account name (???)
*
* DEPRECATED
*/
bool getEvents();
//bool getEvents();
//
bool getZeroconf(const std::string& sequenceId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment