Browse Source

Close registration before self-destruct (#12877)

master
Jeong Arm 1 year ago
committed by Eugen Rochko
parent
commit
26988be57d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/cli.rb

+ 2
- 0
lib/cli.rb View File

@ -96,6 +96,8 @@ module Mastodon
prompt.warn('Do NOT interrupt this process...')
Setting.registrations_mode = 'none'
Account.local.without_suspended.find_each do |account|
payload = ActiveModelSerializers::SerializableResource.new(
account,

Loading…
Cancel
Save