mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:43:45 +08:00
6 lines
157 B
Ruby
6 lines
157 B
Ruby
Group.ensure_automatic_groups!
|
|
if g = Group.find_by(name: 'trust_level_5', id: 15)
|
|
g.destroy!
|
|
end
|
|
Group.where(name: 'everyone').update_all(visible: false)
|