Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Remove unused #hash_to_object method in SettingsHelper (mastodon#25213)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski authored Jun 1, 2023
1 parent e7e1b46 commit f84037a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
4 changes: 0 additions & 4 deletions app/helpers/settings_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ def filterable_languages
LanguagesHelper::SUPPORTED_LOCALES.keys
end

def hash_to_object(hash)
HashObject.new(hash)
end

def session_device_icon(session)
device = session.detection.device

Expand Down
10 changes: 0 additions & 10 deletions app/lib/hash_object.rb

This file was deleted.

9 changes: 0 additions & 9 deletions spec/lib/hash_object_spec.rb

This file was deleted.

0 comments on commit f84037a

Please sign in to comment.