mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 19:01:00 +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
5 changed files with 0 additions and 11 deletions
|
@ -73,9 +73,6 @@ Global Settings
|
||||||
``wiki_url``:
|
``wiki_url``:
|
||||||
Link to your wiki (or ``false``)
|
Link to your wiki (or ``false``)
|
||||||
|
|
||||||
``twitter_url``:
|
|
||||||
Link to your tweets (or ``false``)
|
|
||||||
|
|
||||||
|
|
||||||
``server:``
|
``server:``
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -96,9 +96,4 @@ class _brand_namespace: # pylint: disable=invalid-name
|
||||||
def WIKI_URL(self):
|
def WIKI_URL(self):
|
||||||
return self.get_val('brand', 'wiki_url')
|
return self.get_val('brand', 'wiki_url')
|
||||||
|
|
||||||
@property
|
|
||||||
def TWITTER_URL(self):
|
|
||||||
return self.get_val('brand', 'twitter_url')
|
|
||||||
|
|
||||||
|
|
||||||
brand = _brand_namespace()
|
brand = _brand_namespace()
|
||||||
|
|
|
@ -137,7 +137,6 @@ SCHEMA = {
|
||||||
'docs_url': SettingsValue(str, None),
|
'docs_url': SettingsValue(str, None),
|
||||||
'public_instances': SettingsValue(str, None),
|
'public_instances': SettingsValue(str, None),
|
||||||
'wiki_url': SettingsValue(str, None),
|
'wiki_url': SettingsValue(str, None),
|
||||||
'twitter_url': SettingsValue(str, None),
|
|
||||||
},
|
},
|
||||||
'search': {
|
'search': {
|
||||||
'safe_search': SettingsValue((0,1,2), 0),
|
'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 PUBLIC_INSTANCES='https://searx.space'
|
||||||
export CONTACT_URL=''
|
export CONTACT_URL=''
|
||||||
export WIKI_URL='https://github.com/searxng/searxng/wiki'
|
export WIKI_URL='https://github.com/searxng/searxng/wiki'
|
||||||
export TWITTER_URL=''
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ name_val = [
|
||||||
('PUBLIC_INSTANCES' , _env('brand.public_instances', '')),
|
('PUBLIC_INSTANCES' , _env('brand.public_instances', '')),
|
||||||
('CONTACT_URL' , _env('general.contact_url', '')),
|
('CONTACT_URL' , _env('general.contact_url', '')),
|
||||||
('WIKI_URL' , _env('brand.wiki_url', '')),
|
('WIKI_URL' , _env('brand.wiki_url', '')),
|
||||||
('TWITTER_URL' , _env('brand.twitter_url', '')),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
brand_env = 'utils' + sep + 'brand.env'
|
brand_env = 'utils' + sep + 'brand.env'
|
||||||
|
|
Loading…
Reference in a new issue