fix bug in update method

This commit is contained in:
Sebastian Sdorra
2010-12-29 14:08:31 +01:00
parent 01462ef3e8
commit 6136c94172

View File

@@ -240,13 +240,8 @@ public class DefaultPluginManager implements PluginManager
throw new PluginNotInstalledException(msg.toString());
}
if (pluginHandler == null)
{
getPluginCenter();
}
pluginHandler.uninstall(installed.getId());
pluginHandler.install(id);
uninstall(installed.getId());
install(id);
}
//~--- get methods ----------------------------------------------------------