summaryrefslogtreecommitdiff
path: root/lib/version_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/version_check.rb')
-rw-r--r--lib/version_check.rb8
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)