From a9a568d11250de49cfa715f83dd1d63b5dcbf67e Mon Sep 17 00:00:00 2001 From: Ted Johansson Date: Fri, 21 Jul 2023 12:22:18 +0800 Subject: [PATCH] DEV: Remove warning for discontinued site_setting_saved event (#22735) We used to have a deprecation warning here for the now defunct site_setting_saved event, marked for removal in 2.4. This PR deletes it. --- lib/discourse_event.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/discourse_event.rb b/lib/discourse_event.rb index c365863f35e..64a467bd77c 100644 --- a/lib/discourse_event.rb +++ b/lib/discourse_event.rb @@ -13,15 +13,6 @@ class DiscourseEvent end def self.on(event_name, &block) - if event_name == :site_setting_saved - Discourse.deprecate( - "The :site_setting_saved event is deprecated. Please use :site_setting_changed instead", - since: "2.3.0beta8", - drop_from: "2.4", - raise_error: true, - ) - end - if event_name == :user_badge_removed Discourse.deprecate( "The :user_badge_removed event is deprecated. Please use :user_badge_revoked instead",