Remove default_scope
from MediaAttachment
class (#28043)
This commit is contained in:
parent
02a98210e8
commit
bb0efe16e6
11 changed files with 15 additions and 16 deletions
|
@ -43,7 +43,7 @@ class ClearDomainMediaService < BaseService
|
|||
end
|
||||
|
||||
def media_from_blocked_domain
|
||||
MediaAttachment.joins(:account).merge(blocked_domain_accounts).reorder(nil)
|
||||
MediaAttachment.joins(:account).merge(blocked_domain_accounts)
|
||||
end
|
||||
|
||||
def emojis_from_blocked_domains
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue