DEV: Remove deprecated Reviewable#post_options method (#22595)

The attribute Reviewable#post_options was deprecated (and replaced by #payload) four years ago, and marked for deletion in 2.9.0. This commit removes it.
This commit is contained in:
Ted Johansson 2023-07-13 22:29:40 +08:00 committed by GitHub
parent 30c152c5a7
commit 110393e438
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -367,14 +367,6 @@ class Reviewable < ActiveRecord::Base
status_previously_changed?(from: "pending")
end
def post_options
Discourse.deprecate(
"Reviewable#post_options is deprecated. Please use #payload instead.",
output_in_test: true,
drop_from: "2.9.0",
)
end
def self.bulk_perform_targets(performed_by, action, type, target_ids, args = nil)
args ||= {}
viewable_by(performed_by)