summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/transport
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-04-17 18:00:58 -0400
committerJames Moger <james.moger@gitblit.com>2014-04-17 18:08:12 -0400
commitcf4004e8d64399f6fc722fcb313eaaae6a65fa20 (patch)
tree795bd96caf734212b4120d6e7c3597af0f9a60d0 /src/main/java/com/gitblit/transport
parent067bb4db93544dca984363dbe728f94607ba8a5d (diff)
downloadgitblit-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.java2
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()));