diff --git a/Documentation/cmd-index.txt b/Documentation/cmd-index.txt index 3ba66a84ab..2395fca3b5 100644 --- a/Documentation/cmd-index.txt +++ b/Documentation/cmd-index.txt @@ -51,9 +51,6 @@ see link:user-upload.html#test_ssh[Testing Your SSH Connection]. [[user_commands]]User Commands ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -'gerrit approve':: - 'Deprecated alias for `gerrit review`.' - link:cmd-ban-commit.html[gerrit ban-commit]:: Bans a commit from a project's repository. diff --git a/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/MasterCommandModule.java b/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/MasterCommandModule.java index abe202e1cc..a8d5c4de8d 100644 --- a/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/MasterCommandModule.java +++ b/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/MasterCommandModule.java @@ -36,8 +36,6 @@ public class MasterCommandModule extends CommandModule { command(gerrit, Receive.class); command(gerrit, AdminSetParent.class); command(gerrit, ReviewCommand.class); - // deprecated alias to review command - alias(gerrit, "approve", ReviewCommand.class); command(gerrit, SetAccountCommand.class); command(gerrit, SetMembersCommand.class); command(gerrit, SetProjectCommand.class);