mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Close registration before self-destruct (#12877)
This commit is contained in:
parent
b0acead946
commit
26988be57d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue