Do not default site_title with site_hostname in InstanceHelper (#6624)
site_title is "Mastodon" by default configuration, and there is no need to default site_title with site_hostname in InstanceHelper.
This commit is contained in:
parent
219aac7800
commit
ef44c62d17
2 changed files with 1 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
module InstanceHelper
|
||||
def site_title
|
||||
Setting.site_title.presence || site_hostname
|
||||
Setting.site_title
|
||||
end
|
||||
|
||||
def site_hostname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue