Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9220de6 authored by Markus Heiser's avatar Markus Heiser
Browse files

[mod] drop unused setting option brand:twitter_url

parent 2a2b6c4d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -73,9 +73,6 @@ Global Settings
``wiki_url``:
  Link to your wiki (or ``false``)

``twitter_url``:
  Link to your tweets (or ``false``)


``server:``
-----------
+0 −5
Original line number Diff line number Diff line
@@ -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()
+0 −1
Original line number Diff line number Diff line
@@ -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),
+0 −1
Original line number Diff line number Diff line
@@ -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=''
+0 −1
Original line number Diff line number Diff line
@@ -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'