Skip to content

Commit

Permalink
Remove deprecation warning without a deprecator
Browse files Browse the repository at this point in the history
The initial deprecation was introduced in 6.1:
bbfab0b

The configuration stayed with a deprecation in 7.0 but was not
preserving the behavior: 10bd5e5

This removes the configuration and deprecation.
  • Loading branch information
etiennebarrie committed Feb 15, 2023
1 parent 7e74549 commit c326532
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions activejob/lib/active_job/callbacks.rb
Expand Up @@ -28,9 +28,6 @@ class << self
end

included do
cattr_accessor :skip_after_callbacks_if_terminated, instance_accessor: false, default: false
singleton_class.deprecate :skip_after_callbacks_if_terminated, :skip_after_callbacks_if_terminated=

define_callbacks :perform, skip_after_callbacks_if_terminated: true
define_callbacks :enqueue, skip_after_callbacks_if_terminated: true
end
Expand Down

0 comments on commit c326532

Please sign in to comment.