[temp] Remove associations from suspend account service
This commit is contained in:
parent
e6d52bc4df
commit
919eb87d47
@ -1,15 +1,21 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# conversations
|
||||||
|
#chat_block_relationships
|
||||||
|
#chat_blocked_by_relationships
|
||||||
|
#chat_conversations
|
||||||
|
#chat_messages
|
||||||
|
#subscriptions
|
||||||
|
#group_accounts
|
||||||
|
#group_join_requests
|
||||||
|
#group_removed_accounts
|
||||||
|
#shortcuts
|
||||||
|
|
||||||
class SuspendAccountService < BaseService
|
class SuspendAccountService < BaseService
|
||||||
ASSOCIATIONS_ON_SUSPEND = %w(
|
ASSOCIATIONS_ON_SUSPEND = %w(
|
||||||
active_relationships
|
active_relationships
|
||||||
block_relationships
|
block_relationships
|
||||||
blocked_by_relationships
|
blocked_by_relationships
|
||||||
chat_block_relationships
|
|
||||||
chat_blocked_by_relationships
|
|
||||||
conversations
|
|
||||||
chat_conversations
|
|
||||||
chat_messages
|
|
||||||
custom_filters
|
custom_filters
|
||||||
favourites
|
favourites
|
||||||
follow_requests
|
follow_requests
|
||||||
@ -24,11 +30,6 @@ class SuspendAccountService < BaseService
|
|||||||
scheduled_statuses
|
scheduled_statuses
|
||||||
status_bookmarks
|
status_bookmarks
|
||||||
status_pins
|
status_pins
|
||||||
subscriptions
|
|
||||||
group_accounts
|
|
||||||
group_join_requests
|
|
||||||
group_removed_accounts
|
|
||||||
shortcuts
|
|
||||||
).freeze
|
).freeze
|
||||||
|
|
||||||
ASSOCIATIONS_ON_DESTROY = %w(
|
ASSOCIATIONS_ON_DESTROY = %w(
|
||||||
|
Loading…
Reference in New Issue
Block a user