From 110393e438284ee8539a95e27013f0872cd341c3 Mon Sep 17 00:00:00 2001 From: Ted Johansson Date: Thu, 13 Jul 2023 22:29:40 +0800 Subject: [PATCH] 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. --- app/models/reviewable.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/models/reviewable.rb b/app/models/reviewable.rb index dce29398645..48eb33a61c5 100644 --- a/app/models/reviewable.rb +++ b/app/models/reviewable.rb @@ -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)