mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
DEV: Remove experimental site setting for chat threads (#22720)
We are removing the experimental site setting. Admins can now decide on a per channel basis to enable/disable threading. It's disabled by default.
This commit is contained in:
@ -13,10 +13,6 @@ module DiscourseDev
|
||||
end
|
||||
|
||||
def data
|
||||
if !SiteSetting.enable_experimental_chat_threaded_discussions
|
||||
raise "You need to enable_experimental_chat_threaded_discussions to run this task"
|
||||
end
|
||||
|
||||
channel = ::Chat::Channel.find(@channel_id)
|
||||
return if !channel
|
||||
|
||||
|
Reference in New Issue
Block a user