Changeset - 22270d1b616a
[Not reviewed]
0 1 0
Jan Kaluza - 12 years ago 2013-01-22 09:23:02
hanzz.k@gmail.com
Remove bad logging messages
1 file changed with 0 insertions and 9 deletions:
0 comments (0 inline, 0 general)
src/userregistry.cpp
Show inline comments
 
@@ -79,9 +79,6 @@ void UserRegistry::stopLogin(const Swift::JID& user, Swift::ServerFromClientSess
 
			LOG4CXX_WARN(logger, key << ": Stopping login process (user probably disconnected while logging in), but this is not active session");
 
		}
 
	}
 
	else {
 
		LOG4CXX_WARN(logger, key << ": Stopping login process (user probably disconnected while logging in) for invalid user");
 
	}
 

	
 
	// ::removeLater can be called only by libtransport, not by Swift and libtransport
 
	// takes care about user disconnecting itself, so don't call our signal.
 
@@ -96,9 +93,6 @@ void UserRegistry::onPasswordValid(const Swift::JID &user) {
 
		users[key].session->handlePasswordValid();
 
		users.erase(key);
 
	}
 
	else {
 
		LOG4CXX_INFO(logger, key << ": onPasswordValid called for invalid user");
 
	}
 
}
 

	
 
void UserRegistry::onPasswordInvalid(const Swift::JID &user, const std::string &error) {
 
@@ -108,9 +102,6 @@ void UserRegistry::onPasswordInvalid(const Swift::JID &user, const std::string &
 
		users[key].session->handlePasswordInvalid(error);
 
		users.erase(key);
 
	}
 
	else {
 
		LOG4CXX_INFO(logger, key << ": onPasswordInvalid called for invalid user");
 
	}
 
}
 

	
 
void UserRegistry::handleRemoveTimeout(const Swift::JID &user) {
0 comments (0 inline, 0 general)