diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-07 18:16:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-07 18:16:06 +0000 |
commit | 8bac8f55ba93bb03f7391b939dc6644e67fe5216 (patch) | |
tree | 12cd1f579cb725050452fe4acf2d541253ad413f /lib/version_check.rb | |
parent | c68ee79c332a9a08abaed7eb48fbc563a584d31d (diff) | |
download | gitlab-ce-8bac8f55ba93bb03f7391b939dc6644e67fe5216.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/version_check.rb')
-rw-r--r-- | lib/version_check.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/version_check.rb b/lib/version_check.rb index e5a4c244c7a..2d132001f54 100644 --- a/lib/version_check.rb +++ b/lib/version_check.rb @@ -16,14 +16,6 @@ class VersionCheck { "REFERER": Gitlab.config.gitlab.url } end - # This is temporary and will be removed when the new UI is hooked up - # to the version_check.json endpoint. - def self.image_url - encoded_data = Base64.urlsafe_encode64(data.to_json) - - "#{host}/check.svg?gitlab_info=#{encoded_data}" - end - def self.url encoded_data = Base64.urlsafe_encode64(data.to_json) |