lib/hyrax/transactions/steps/destroy_work.rb in hyrax-3.3.0 vs lib/hyrax/transactions/steps/destroy_work.rb in hyrax-3.4.0
- old
+ new
@@ -4,10 +4,12 @@
module Steps
##
# A `dry-transcation` step that destroys a Work.
#
# @since 3.0.0
- # @deprecated
+ # @deprecated This is part of the legacy AF set of transaction steps for works.
+ # Transactions are not being used with AF works. This will be removed in 4.0.
+ # @see Hyrax::Transactions::Steps::DeleteResource
class DestroyWork
include Dry::Transaction::Operation
##
# @param [Hyrax::WorkBehavior] work