Skip to content

Commit

Permalink
Merge pull request #2784 from sul-dlss/dead-code
Browse files Browse the repository at this point in the history
Remove dead code
  • Loading branch information
corylown authored Jan 13, 2025
2 parents d9b1a6c + 22e74f7 commit e3dad83
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/models/public_xml_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@ def get_value(node)
node&.first ? node.first.content : nil
end

def stanford_mods
@stanford_mods ||= Stanford::Mods::Record.new.tap do |smods_rec|
smods_rec.from_str(mods.to_s)
end
end

def mods_display
@mods_display ||= ModsDisplay::HTML.new(stanford_mods)
end

def public_xml
@public_xml ||= self.class.fetch("#{purl_base_url}.xml")
end
Expand Down

0 comments on commit e3dad83

Please sign in to comment.