Skip to content

Commit

Permalink
Remove not yet implemented is_delete? method
Browse files Browse the repository at this point in the history
As code for handling delete requests is not yet implemented, we remove the
call to the not defined method `is_delete?`.

Fix #8734.

Co-authored-by: David Kang <dkang@suse.com>
  • Loading branch information
eduardoj and David Kang committed Nov 18, 2019
1 parent 87e8fe6 commit 5753a42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/app/models/staging/staged_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ def create
bs_request_action = request.bs_request_actions.first
if bs_request_action.is_submit?
link_package(bs_request_action)
elsif bs_request_action.is_delete?
# TODO: implement delete requests
end
# TODO: implement delete requests
end

result.each { |request| add_review_for_staged_request(request) }
Expand Down

0 comments on commit 5753a42

Please sign in to comment.