diff options
author | James Moger <james.moger@gitblit.com> | 2014-04-17 18:00:58 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-04-17 18:08:12 -0400 |
commit | cf4004e8d64399f6fc722fcb313eaaae6a65fa20 (patch) | |
tree | 795bd96caf734212b4120d6e7c3597af0f9a60d0 /src/main/java/com/gitblit/transport | |
parent | 067bb4db93544dca984363dbe728f94607ba8a5d (diff) | |
download | gitblit-cf4004e8d64399f6fc722fcb313eaaae6a65fa20.tar.gz gitblit-cf4004e8d64399f6fc722fcb313eaaae6a65fa20.zip |
Add plugin (un)install lifecycle methods
Diffstat (limited to 'src/main/java/com/gitblit/transport')
-rw-r--r-- | src/main/java/com/gitblit/transport/ssh/commands/PluginDispatcher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/transport/ssh/commands/PluginDispatcher.java b/src/main/java/com/gitblit/transport/ssh/commands/PluginDispatcher.java index 37649ead..62b13576 100644 --- a/src/main/java/com/gitblit/transport/ssh/commands/PluginDispatcher.java +++ b/src/main/java/com/gitblit/transport/ssh/commands/PluginDispatcher.java @@ -614,7 +614,7 @@ public class PluginDispatcher extends DispatchCommand { throw new UnloggedFailure(String.format("Plugin %s is not installed!", id)); } - if (gitblit.deletePlugin(pluginWrapper.getPluginId())) { + if (gitblit.uninstallPlugin(pluginWrapper.getPluginId())) { stdout.println(String.format("Uninstalled %s", pluginWrapper.getPluginId())); } else { throw new UnloggedFailure(1, String.format("Failed to uninstall %s", pluginWrapper.getPluginId())); |