Commit 5b62f63d authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Loading available plugin info on startup.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4198 b35dd754-fafc-0310-a699-88a17e54d16e
parent af56aed1
......@@ -100,6 +100,9 @@ public class UpdateManager extends BasicModule {
public void start() throws IllegalStateException {
super.start();
// Load last saved information (if any)
loadSavedInfo();
if (isServiceEnabled()) {
startService();
}
......@@ -115,8 +118,6 @@ public class UpdateManager extends BasicModule {
try {
// Sleep for 15 seconds before starting to work
Thread.sleep(15000);
// Load last saved information (if any)
loadSavedInfo();
while (isServiceEnabled()) {
waitForNextChecking();
// Check if the service is still enabled
......
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