diff options
author | James Moger <james.moger@gitblit.com> | 2014-04-17 23:31:44 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-04-17 23:33:24 -0400 |
commit | 8cbdf3ff0883c54f2bb0b87ee86d7984d83822eb (patch) | |
tree | 0fccc39fe535008ab69101d281b1284f8f504731 /src/site | |
parent | 80cf76b88cb9b9c1696c48fd418c0cdee995812c (diff) | |
download | gitblit-8cbdf3ff0883c54f2bb0b87ee86d7984d83822eb.tar.gz gitblit-8cbdf3ff0883c54f2bb0b87ee86d7984d83822eb.zip |
Remove User parameter from SSH dispatch command setup
Diffstat (limited to 'src/site')
-rw-r--r-- | src/site/plugins_extensions.mkd | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/site/plugins_extensions.mkd b/src/site/plugins_extensions.mkd index 86d07291..60f8b47d 100644 --- a/src/site/plugins_extensions.mkd +++ b/src/site/plugins_extensions.mkd @@ -75,14 +75,14 @@ import com.gitblit.transport.ssh.commands.UsageExample; public class MyDispatcher extends DispatchCommand { @Override - protected void setup(UserModel user) { + protected void setup() { // commands in this dispatcher - register(user, CommandA.class); - register(user, CommandB.class); + register(CommandA.class); + register(CommandB.class); // nested dispatchers - register(user, SubDispatcher1.class); - register(user, SubDispatcher2.class); + register(SubDispatcher1.class); + register(SubDispatcher2.class); } @CommandMetaData(name = "commanda", aliases = { "ca" }, description = "description of command a") |