From 838b0bdf2dfb167b80f121e37fbb1bf66ee1ad0f Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 15 Mar 2024 05:00:26 -0400 Subject: [PATCH] Remove unused `Account::Interactions#endorsed?` method (#29463) --- app/models/concerns/account/interactions.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/concerns/account/interactions.rb b/app/models/concerns/account/interactions.rb index 0ed0dc060..85363febf 100644 --- a/app/models/concerns/account/interactions.rb +++ b/app/models/concerns/account/interactions.rb @@ -242,10 +242,6 @@ module Account::Interactions status_pins.exists?(status: status) end - def endorsed?(account) - account_pins.exists?(target_account: account) - end - def status_matches_filters(status) active_filters = CustomFilter.cached_filters_for(id) CustomFilter.apply_cached_filters(active_filters, status)