diff options
author | drebs <drebs@leap.se> | 2015-04-09 12:20:19 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2015-04-09 12:20:19 -0300 |
commit | 5a9eac4ba0d4ddc419fdaaee4d08dbc7d8115294 (patch) | |
tree | efe96285a8fa692aca7a5729fcd420aaa333551e /common/src/leap/soledad | |
parent | 578d986b8eb502cde027c0cd1e05742a59def496 (diff) |
[fix] remove unneded params to CouchServerState
This commit removes some leftover code from a time when Soledad Server used to
check for permissions on certain databases when starting (i.e. shared and
tokens databases). This was later removed as correct permissions enforcement
was relayed to tapicero.
Closes: #6833.
Diffstat (limited to 'common/src/leap/soledad')
-rw-r--r-- | common/src/leap/soledad/common/couch.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/src/leap/soledad/common/couch.py b/common/src/leap/soledad/common/couch.py index a98a8f25..8d262ccd 100644 --- a/common/src/leap/soledad/common/couch.py +++ b/common/src/leap/soledad/common/couch.py @@ -1528,20 +1528,14 @@ class CouchServerState(ServerState): Inteface of the WSGI server with the CouchDB backend. """ - def __init__(self, couch_url, shared_db_name, tokens_db_name): + def __init__(self, couch_url): """ Initialize the couch server state. :param couch_url: The URL for the couch database. :type couch_url: str - :param shared_db_name: The name of the shared database. - :type shared_db_name: str - :param tokens_db_name: The name of the tokens database. - :type tokens_db_name: str """ self._couch_url = couch_url - self._shared_db_name = shared_db_name - self._tokens_db_name = tokens_db_name def open_database(self, dbname): """ |