1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-25 10:17:47 +00:00

Remove unused InstancePresenter methods ()

This commit is contained in:
Matt Jankowski 2023-03-22 09:15:22 -04:00 committed by GitHub
parent b179ff84c7
commit a7a578a055
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,10 +22,6 @@ class InstancePresenter < ActiveModelSerializers::Model
ContactPresenter.new ContactPresenter.new
end end
def closed_registrations_message
Setting.closed_registrations_message
end
def description def description
Setting.site_short_description Setting.site_short_description
end end
@ -34,10 +30,6 @@ class InstancePresenter < ActiveModelSerializers::Model
Setting.site_extended_description Setting.site_extended_description
end end
def privacy_policy
Setting.site_terms
end
def status_page_url def status_page_url
Setting.status_page_url Setting.status_page_url
end end