Skip to content

Commit

Permalink
Remove puts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Sep 10, 2024
1 parent 1608d6c commit 7e1b96c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,7 @@ def multi_destroy
next if input.is_a?(Hash) == false || input['id'].nil? || input['name'].nil? || input['uuid'].nil?

begin
puts "destroy:#{input[:name]} #{input[:id]} #{input[:uuid]}"
result = @model_class.destroy(name: input[:name], score: input[:id].to_i, uuid: input[:uuid], scope: params[:scope])
puts "return:#{result}"
OpenC3::Logger.info("Activity destroyed: #{input['name']}", scope: params[:scope], user: username())
ret << { 'status' => 'removed', 'removed' => result, 'input' => input, 'type' => e.class }
rescue StandardError => e # includes OpenC3::ActivityInputError
Expand Down

0 comments on commit 7e1b96c

Please sign in to comment.