Need To Reopen All Topics!

Dear Support,
Thanks :slight_smile:

i am just opened all old topics which are closed !

Topic.where(closed: true).where("created_at < '2015-01-01'").find_each do |topic|
  topic.update_status('closed', false, Discourse.system_user)
end
2 Likes