summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-03-21 18:43:26 +0100
committerFrancisco Javier López <fjlopez@gitlab.com>2018-03-21 18:43:26 +0100
commit7509589b99420b5af1ca8ebaae5c42a07d94cce5 (patch)
tree71c3669b88d5cff06360f4e4c8ed5de886863557
parent140cb0c092151636463a2222ce3fc2267f621d3a (diff)
downloadgitlab-ce-7509589b99420b5af1ca8ebaae5c42a07d94cce5.tar.gz
Adapting mattermost to the new way of calling HTTP
-rw-r--r--lib/mattermost/session.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/session.rb b/lib/mattermost/session.rb
index a514ec15c2a..70663627e5d 100644
--- a/lib/mattermost/session.rb
+++ b/lib/mattermost/session.rb
@@ -83,7 +83,7 @@ module Mattermost
def delete(path, options = {})
handle_exceptions do
- self.class.delete(path, options.merge(headers: @headers))
+ Gitlab::HTTP.delete(path, options.merge(headers: @headers))
end
end