mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[mod] drop unused setting option brand:twitter_url
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
2a2b6c4d57
commit
c9220de690
@ -73,9 +73,6 @@ Global Settings
|
||||
``wiki_url``:
|
||||
Link to your wiki (or ``false``)
|
||||
|
||||
``twitter_url``:
|
||||
Link to your tweets (or ``false``)
|
||||
|
||||
|
||||
``server:``
|
||||
-----------
|
||||
|
@ -96,9 +96,4 @@ class _brand_namespace: # pylint: disable=invalid-name
|
||||
def WIKI_URL(self):
|
||||
return self.get_val('brand', 'wiki_url')
|
||||
|
||||
@property
|
||||
def TWITTER_URL(self):
|
||||
return self.get_val('brand', 'twitter_url')
|
||||
|
||||
|
||||
brand = _brand_namespace()
|
||||
|
@ -137,7 +137,6 @@ SCHEMA = {
|
||||
'docs_url': SettingsValue(str, None),
|
||||
'public_instances': SettingsValue(str, None),
|
||||
'wiki_url': SettingsValue(str, None),
|
||||
'twitter_url': SettingsValue(str, None),
|
||||
},
|
||||
'search': {
|
||||
'safe_search': SettingsValue((0,1,2), 0),
|
||||
|
@ -6,4 +6,3 @@ export DOCS_URL='https://searxng.github.io/searxng'
|
||||
export PUBLIC_INSTANCES='https://searx.space'
|
||||
export CONTACT_URL=''
|
||||
export WIKI_URL='https://github.com/searxng/searxng/wiki'
|
||||
export TWITTER_URL=''
|
||||
|
@ -35,7 +35,6 @@ name_val = [
|
||||
('PUBLIC_INSTANCES' , _env('brand.public_instances', '')),
|
||||
('CONTACT_URL' , _env('general.contact_url', '')),
|
||||
('WIKI_URL' , _env('brand.wiki_url', '')),
|
||||
('TWITTER_URL' , _env('brand.twitter_url', '')),
|
||||
]
|
||||
|
||||
brand_env = 'utils' + sep + 'brand.env'
|
||||
|
Loading…
Reference in New Issue
Block a user