Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252)
This commit is contained in:
@@ -4,7 +4,7 @@ class UnallowDomainService < BaseService
|
||||
include DomainControlHelper
|
||||
|
||||
def call(domain_allow)
|
||||
suspend_accounts!(domain_allow.domain) if whitelist_mode?
|
||||
suspend_accounts!(domain_allow.domain) if limited_federation_mode?
|
||||
|
||||
domain_allow.destroy
|
||||
end
|
||||
|
Reference in New Issue
Block a user