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()); 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 ----------------------------------------------------------