[mod] drop unused setting option brand:twitter_url

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-07-17 19:37:22 +02:00
parent 2a2b6c4d57
commit c9220de690
5 changed files with 0 additions and 11 deletions

View File

@ -73,9 +73,6 @@ Global Settings
``wiki_url``:
Link to your wiki (or ``false``)
``twitter_url``:
Link to your tweets (or ``false``)
``server:``
-----------

View File

@ -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()

View File

@ -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),

View File

@ -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=''

View File

@ -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'