mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
fix bug in update method
This commit is contained in:
@@ -240,13 +240,8 @@ public class DefaultPluginManager implements PluginManager
|
|||||||
throw new PluginNotInstalledException(msg.toString());
|
throw new PluginNotInstalledException(msg.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pluginHandler == null)
|
uninstall(installed.getId());
|
||||||
{
|
install(id);
|
||||||
getPluginCenter();
|
|
||||||
}
|
|
||||||
|
|
||||||
pluginHandler.uninstall(installed.getId());
|
|
||||||
pluginHandler.install(id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//~--- get methods ----------------------------------------------------------
|
//~--- get methods ----------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user