From bc1f7152bfed428254d70da4e34b8cb7ecd0a64f Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Sun, 3 Nov 2024 12:07:23 -0800 Subject: [PATCH] Remove unused SwfAsset.from_wardrobe_link_params --- app/models/swf_asset.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/models/swf_asset.rb b/app/models/swf_asset.rb index 47c1187e..8b2b283d 100644 --- a/app/models/swf_asset.rb +++ b/app/models/swf_asset.rb @@ -320,14 +320,6 @@ class SwfAsset < ApplicationRecord swf_asset end - def self.from_wardrobe_link_params(ids) - where(( - arel_table[:remote_id].in(ids[:biology]).and(arel_table[:type].eq('biology')) - ).or( - arel_table[:remote_id].in(ids[:object]).and(arel_table[:type].eq('object')) - )) - end - # Given a list of SWF assets, ensure all of their manifests are loaded, with # fast concurrent execution! def self.preload_manifests(swf_assets)