mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-25 10:17:47 +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
|
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
|
||||||
|
|
Loading…
Reference in a new issue