mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-21 00:29:47 +00:00
Remove unused Account::Interactions#endorsed?
method (#29463)
This commit is contained in:
parent
d39d625561
commit
838b0bdf2d
|
@ -242,10 +242,6 @@ module Account::Interactions
|
||||||
status_pins.exists?(status: status)
|
status_pins.exists?(status: status)
|
||||||
end
|
end
|
||||||
|
|
||||||
def endorsed?(account)
|
|
||||||
account_pins.exists?(target_account: account)
|
|
||||||
end
|
|
||||||
|
|
||||||
def status_matches_filters(status)
|
def status_matches_filters(status)
|
||||||
active_filters = CustomFilter.cached_filters_for(id)
|
active_filters = CustomFilter.cached_filters_for(id)
|
||||||
CustomFilter.apply_cached_filters(active_filters, status)
|
CustomFilter.apply_cached_filters(active_filters, status)
|
||||||
|
|
Loading…
Reference in a new issue