Remove unused `Account::Interactions#endorsed?` method (#29463)

This commit is contained in:
Matt Jankowski 2024-03-15 05:00:26 -04:00 committed by GitHub
parent d39d625561
commit 838b0bdf2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -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)