Add: #348 新規登録の上限人数 (#527)

* Add: #348 新規登録の上限人数

* Fix test

* Fix test

* Wip

* Fix test

* Add invite support

* Wip

* Fix test

* Fix test

* Fix test
This commit is contained in:
KMY(雪あすか) 2024-02-12 22:05:32 +09:00 committed by GitHub
parent d7cc6b788c
commit e317edecb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 362 additions and 6 deletions

View file

@ -2,6 +2,7 @@
class DeleteAccountService < BaseService
include Payloadable
include RegistrationLimitationHelper
ASSOCIATIONS_ON_SUSPEND = %w(
account_notes
@ -143,6 +144,8 @@ class DeleteAccountService < BaseService
else
@account.user.destroy
end
reset_registration_limit_caches!
end
def purge_content!