mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 23:49:42 +00:00
Remove unused InstancePresenter methods (#24206)
This commit is contained in:
parent
b179ff84c7
commit
a7a578a055
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue