Commit 2ec71581 authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Datasource information should be stored in messenger_home.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@98 b35dd754-fafc-0310-a699-88a17e54d16e
parent d7b6d92a
......@@ -106,22 +106,22 @@
// No errors setting the properties, so test the connection
DbConnectionManager.setConnectionProvider(conProvider);
if (testConnection(errors)) {
// update the sidebar status
session.setAttribute("jive.setup.sidebar.3","done");
session.setAttribute("jive.setup.sidebar.4","in_progress");
// success, move on
response.sendRedirect("setup-admin-settings.jsp");
return;
}
else{
// Update with XMPPSettings
Map xmppSettings = (Map)session.getAttribute("xmppSettings");
Iterator iter = xmppSettings.keySet().iterator();
while(iter.hasNext()){
String name = (String)iter.next();
String value = (String)xmppSettings.get(name);
JiveGlobals.setProperty(name, value);
}
// update the sidebar status
session.setAttribute("jive.setup.sidebar.3","done");
session.setAttribute("jive.setup.sidebar.4","in_progress");
// success, move on
response.sendRedirect("setup-admin-settings.jsp");
return;
}
}
}
......
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