diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-03-26 16:09:37 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-03-26 16:09:37 +0300 |
commit | a5c54bac4446c8c261fe1c900cf92e8d110e3301 (patch) | |
tree | 8675ee6ad7d5720470c6832eb00d59aa97d6d916 /app/services | |
parent | e4760e770d5fbd04084ede92db4d80c86bc28aca (diff) | |
parent | b27c4420c9e62ffc8cf53a4a854f4907454af400 (diff) |
Merge branch 'delete-release-when-delete-tag' into 'master'
Releases are not automatically deleted when deleting corresponding tag
Closes #57980 and #57380
See merge request gitlab-org/gitlab-ce!26530
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/releases/destroy_service.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/releases/destroy_service.rb b/app/services/releases/destroy_service.rb index 8c2bc3b4e6e..f9f6101abdd 100644 --- a/app/services/releases/destroy_service.rb +++ b/app/services/releases/destroy_service.rb @@ -5,7 +5,6 @@ module Releases include Releases::Concerns def execute - return error('Tag does not exist', 404) unless existing_tag return error('Release does not exist', 404) unless release return error('Access Denied', 403) unless allowed? |