Commit 5297b0d7 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Added flag to require a restart of the server after setup is run.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@414 b35dd754-fafc-0310-a699-88a17e54d16e
parent ee429dc1
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
JiveGlobals.setXMLProperty("setup","true"); JiveGlobals.setXMLProperty("setup","true");
// update the sidebar status // update the sidebar status
session.setAttribute("jive.setup.sidebar.4","done"); session.setAttribute("jive.setup.sidebar.4","done");
// Indicate a server is required:
session.setAttribute("jive.setup.requireRestart","true");
} }
%> %>
......
...@@ -25,6 +25,12 @@ ...@@ -25,6 +25,12 @@
return; return;
} }
// Is a restart required?
if ("true".equals(session.getAttribute("jive.setup.requireRestart"))) {
response.sendRedirect("setup-completed.jsp");
return;
}
// embedded mode? // embedded mode?
boolean embeddedMode = false; boolean embeddedMode = false;
try { try {
......
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