Commit 8cbf40de authored by Matt Tucker's avatar Matt Tucker Committed by matt

Code cleanup.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5506 b35dd754-fafc-0310-a699-88a17e54d16e
parent e471412f
/**
* $Revision$
* $Date$
* $RCSfile$
* $Revision: 3191 $
* $Date: 2005-12-12 13:41:22 -0300 (Mon, 12 Dec 2005) $
*
* Copyright (C) 1999-2005 Jive Software. All rights reserved.
* This software is the proprietary information of Jive Software. Use is subject to license terms.
* Copyright (C) 2006 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package org.jivesoftware.wildfire.update;
import org.jivesoftware.util.JiveGlobals;
import org.jivesoftware.util.Log;
import org.jivesoftware.wildfire.XMPPServer;
/**
......@@ -56,32 +58,6 @@ public class PluginDownloadManager {
status.setSuccessfull(worked);
status.setUrl(url);
/**
* mj bmmmmmmmmmmmmmmmmmmmmv cvvbv vvvv .nnnnn vvvvvvvvv
* @author Nate DeMoro
*/
return status;
}
public boolean updatePluginsList() {
UpdateManager updateManager = XMPPServer.getInstance().getUpdateManager();
try {
// Todo: Unify update checking into one xml file. Have the update check set the last check property.
updateManager.checkForServerUpdate(true);
updateManager.checkForPluginsUpdates(true);
// Keep track of the last time we checked for updates
JiveGlobals.setProperty("update.lastCheck",
String.valueOf(System.currentTimeMillis()));
return true;
}
catch (Exception e) {
Log.error(e);
}
return false;
}
}
\ No newline at end of file
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