forked from I2P_Developers/i2p.i2p
* UpdateManager:
- Convert to RouterApp and remove update hooks from context (ticket #1185)
This commit is contained in:
@ -30,7 +30,14 @@
|
||||
/*
|
||||
* Print out the status for the UpdateManager
|
||||
*/
|
||||
ctx.updateManager().renderStatusHTML(out);
|
||||
net.i2p.app.ClientAppManager cmgr = ctx.clientAppManager();
|
||||
if (cmgr != null) {
|
||||
net.i2p.router.update.ConsoleUpdateManager umgr =
|
||||
(net.i2p.router.update.ConsoleUpdateManager) cmgr.getRegisteredApp(net.i2p.update.UpdateManager.APP_NAME);
|
||||
if (umgr != null) {
|
||||
umgr.renderStatusHTML(out);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Print out the status for the AppManager
|
||||
|
Reference in New Issue
Block a user