Commit 3edd8734 authored by Axel Brand's avatar Axel Brand Committed by daeva

Gojara

- allow unregister even for inactive & not configured transports, we just delete the reg on our side then. Should be clear by now that this happens.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13707 b35dd754-fafc-0310-a699-88a17e54d16e
parent ff5546ab
......@@ -116,7 +116,6 @@ public class TransportSessionManager {
* @return String that describes what happened.
*/
public String removeRegistrationOfUser(String transport, String user) {
if (transportSessions.containsKey(transport)) {
adminManager.unregisterUserFrom(transport, user);
int result = db.removeSessionEntry(transport, user);
if (result == 0) {
......@@ -126,10 +125,6 @@ public class TransportSessionManager {
} else {
return "What is happening ???: " + result;
}
} else {
return "Cannot Unregister user " + user + " from " + transport + " when it's inactive.";
}
}
/**
......
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