Remove unused InstancePresenter methods (#24206)

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
end
def closed_registrations_message
Setting.closed_registrations_message
end
def description
Setting.site_short_description
end
@ -34,10 +30,6 @@ class InstancePresenter < ActiveModelSerializers::Model
Setting.site_extended_description
end
def privacy_policy
Setting.site_terms
end
def status_page_url
Setting.status_page_url
end