DEV: removes deprecated code (#23183)

This commit is contained in:
Joffrey JAFFEUX
2023-08-22 15:53:37 +02:00
committed by GitHub
parent 0afddca0b9
commit 2d8a38f883
4 changed files with 2 additions and 27 deletions

View File

@ -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