mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: removes deprecated code (#23183)
This commit is contained in:
@ -425,7 +425,6 @@ after_initialize do
|
||||
end
|
||||
|
||||
on(:category_updated) do |category|
|
||||
# TODO(roman): remove early return after 2.9 release.
|
||||
# There's a bug on core where this event is triggered with an `#update` result (true/false)
|
||||
if category.is_a?(Category) && category_channel = Chat::Channel.find_by(chatable: category)
|
||||
if category_channel.auto_join_users
|
||||
|
Reference in New Issue
Block a user