summaryrefslogtreecommitdiff
path: root/lib/mattermost
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-12-16 20:29:17 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-12-16 20:29:17 +0100
commitf0889bdfa3e0d1433b3cd293859b13ee9d186ab6 (patch)
tree72816bc5d3a82689efa17e026b339a1c8f130e5c /lib/mattermost
parent7363a7d3b5804493f86531bebb1610afb91b5293 (diff)
downloadgitlab-ce-f0889bdfa3e0d1433b3cd293859b13ee9d186ab6.tar.gz
Incorporate review
Diffstat (limited to 'lib/mattermost')
-rw-r--r--lib/mattermost/command.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/mattermost/command.rb b/lib/mattermost/command.rb
index 7d4710bb94d..9c37d0b0d79 100644
--- a/lib/mattermost/command.rb
+++ b/lib/mattermost/command.rb
@@ -1,18 +1,6 @@
module Mattermost
class Command < Session
def self.create(team_id, trigger: 'gitlab', url:, icon_url:)
- command = {
- auto_complete: true,
- auto_complete_desc: 'List all available commands',
- auto_complete_hint: '[help]',
- description: 'Perform common operations on GitLab',
- display_name: 'GitLab Slash Commands',
- method: 'P',
- user_name: 'GitLab',
- trigger: trigger,
- url: url,
- icon_url: icon_url
- }
post_command(command)['token']
end