diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-03-25 14:41:38 +0700 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2019-03-26 19:10:31 +0700 |
commit | b27c4420c9e62ffc8cf53a4a854f4907454af400 (patch) | |
tree | 2390248510be0e40eb8cd59b80d27fe973b75f9a /app/services/releases | |
parent | b4de23a687d16c96f1adaa456e4aeaac64d9cb23 (diff) | |
download | gitlab-ce-b27c4420c9e62ffc8cf53a4a854f4907454af400.tar.gz |
Destroy releases when delete a tagdelete-release-when-delete-tag
ok
ok
ok
ok
Diffstat (limited to 'app/services/releases')
-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? |