Skip to content

Commit

Permalink
Merge pull request #2139 from newrelic/bury_dead_code
Browse files Browse the repository at this point in the history
Remove dead new_relic_trace_controller_action method
  • Loading branch information
hannahramadan authored Jul 19, 2023
2 parents c457f4d + ef63c8c commit 7834390
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ def self.included(clazz)
clazz.extend(ClassMethodsShim)
end

def new_relic_trace_controller_action(*args); yield; end

def perform_action_with_newrelic_trace(*args); yield; end
end

Expand Down
1 change: 0 additions & 1 deletion test/multiverse/suites/sinatra_agent_disabled/shim_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def assert_shims_defined
assert_respond_to MiddlewareApp, :newrelic_ignore_enduser, 'Class method newrelic_ignore_enduser not defined'

# instance method shims
assert_includes(MiddlewareApp.instance_methods, :new_relic_trace_controller_action, 'Instance method new_relic_trace_controller_action not defined')
assert_includes(MiddlewareApp.instance_methods, :perform_action_with_newrelic_trace, 'Instance method perform_action_with_newrelic_trace not defined')
end

Expand Down

0 comments on commit 7834390

Please sign in to comment.