diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-26 15:09:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-26 15:09:18 +0300 |
commit | 9edf852c3a851d84b85bc94f7a3b41d5ef04dd32 (patch) | |
tree | f79a739a455d5d02758e225582688c0451465aa6 /app/models/releases | |
parent | 6f22c85c38b7a896178879172f4c0f82353308f8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/releases')
-rw-r--r-- | app/models/releases/link.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/releases/link.rb b/app/models/releases/link.rb index e02486fbc5b..67d765a15c0 100644 --- a/app/models/releases/link.rb +++ b/app/models/releases/link.rb @@ -37,15 +37,9 @@ module Releases url.start_with?(release.project.web_url) end - # `external?` is deprecated in 15.9 and will be removed in 16.0. - def external? - !internal? - end - def hook_attrs { id: id, - external: external?, # `external` is deprecated in 15.9 and will be removed in 16.0. link_type: link_type, name: name, url: url |