Commit dae25ab8 authored by Armando Jagucki's avatar Armando Jagucki Committed by ajagucki

JM-1424: When admin is logged in OF and CS is down, the "Config Clearspace"...

JM-1424: When admin is logged in OF and CS is down, the "Config Clearspace" button in OF no longer hangs. To be reviewed by Gabriel.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10651 b35dd754-fafc-0310-a699-88a17e54d16e
parent 277f9a43
...@@ -30,15 +30,15 @@ ...@@ -30,15 +30,15 @@
ClearspaceManager manager = ClearspaceManager.getInstance(); ClearspaceManager manager = ClearspaceManager.getInstance();
boolean configured = false; boolean configured = false;
// First if there is configure action configure clearspace
if (configure) {
configured = manager.configClearspace();
}
// Checks if CS and OF are currently connected // Checks if CS and OF are currently connected
boolean connectedCS = manager.isClearspaceConnected(); boolean connectedCS = manager.isClearspaceConnected();
boolean connectedOF = manager.isOpenfireConnected(); boolean connectedOF = manager.isOpenfireConnected();
// If OF is connected to CS and there is a configure action, configure clearspace
if (connectedOF && configure) {
configured = manager.configClearspace();
}
// This fields will hold the status information of the connection // This fields will hold the status information of the connection
Date creationDate = null; Date creationDate = null;
Date lastActivity = null; Date lastActivity = null;
......
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