diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-07-17 19:37:22 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-07-21 13:38:28 +0200 |
commit | c9220de690f0081777cf43acb547f2b3818fd8fe (patch) | |
tree | 80907df6b25b362ec1e34e5948e783449ed0fc61 /searx | |
parent | 2a2b6c4d57958dd60cc59c80e5669d41b714c701 (diff) | |
download | searxng-c9220de690f0081777cf43acb547f2b3818fd8fe.tar.gz searxng-c9220de690f0081777cf43acb547f2b3818fd8fe.zip |
[mod] drop unused setting option brand:twitter_url
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-rw-r--r-- | searx/__init__.py | 5 | ||||
-rw-r--r-- | searx/settings_defaults.py | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/searx/__init__.py b/searx/__init__.py index 55f6bb464..2b6a84124 100644 --- a/searx/__init__.py +++ b/searx/__init__.py @@ -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() diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index 05df33440..d034cb1cd 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -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), |