mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
Remove unused user_dir config variable
This commit is contained in:
parent
472ffce68a
commit
4625bc55df
@ -14,7 +14,6 @@ doc_dir = /usr/share/doc/plinth
|
|||||||
|
|
||||||
# file locations
|
# file locations
|
||||||
store_file = %(data_dir)s/store.sqlite3
|
store_file = %(data_dir)s/store.sqlite3
|
||||||
user_db = %(data_dir)s/users.sqlite3
|
|
||||||
status_log_file = %(log_dir)s/status.log
|
status_log_file = %(log_dir)s/status.log
|
||||||
access_log_file = %(log_dir)s/access.log
|
access_log_file = %(log_dir)s/access.log
|
||||||
pidfile = %(pid_dir)s/plinth.pid
|
pidfile = %(pid_dir)s/plinth.pid
|
||||||
|
|||||||
@ -14,7 +14,6 @@ doc_dir = %(file_root)s/doc
|
|||||||
|
|
||||||
# file locations
|
# file locations
|
||||||
store_file = %(data_dir)s/store.sqlite3
|
store_file = %(data_dir)s/store.sqlite3
|
||||||
user_db = %(data_dir)s/users.sqlite3
|
|
||||||
status_log_file = %(log_dir)s/status.log
|
status_log_file = %(log_dir)s/status.log
|
||||||
access_log_file = %(log_dir)s/access.log
|
access_log_file = %(log_dir)s/access.log
|
||||||
pidfile = %(pid_dir)s/plinth.pid
|
pidfile = %(pid_dir)s/plinth.pid
|
||||||
|
|||||||
@ -10,7 +10,6 @@ root = None
|
|||||||
file_root = None
|
file_root = None
|
||||||
data_dir = None
|
data_dir = None
|
||||||
store_file = None
|
store_file = None
|
||||||
user_db = None
|
|
||||||
actions_dir = None
|
actions_dir = None
|
||||||
doc_dir = None
|
doc_dir = None
|
||||||
status_log_file = None
|
status_log_file = None
|
||||||
@ -50,7 +49,6 @@ def read():
|
|||||||
('Path', 'file_root'),
|
('Path', 'file_root'),
|
||||||
('Path', 'data_dir'),
|
('Path', 'data_dir'),
|
||||||
('Path', 'store_file'),
|
('Path', 'store_file'),
|
||||||
('Path', 'user_db'),
|
|
||||||
('Path', 'actions_dir'),
|
('Path', 'actions_dir'),
|
||||||
('Path', 'doc_dir'),
|
('Path', 'doc_dir'),
|
||||||
('Path', 'status_log_file'),
|
('Path', 'status_log_file'),
|
||||||
@ -74,7 +72,3 @@ def read():
|
|||||||
global store_file # pylint: disable-msg=W0603
|
global store_file # pylint: disable-msg=W0603
|
||||||
if store_file.endswith(".sqlite3"):
|
if store_file.endswith(".sqlite3"):
|
||||||
store_file = os.path.splitext(store_file)[0]
|
store_file = os.path.splitext(store_file)[0]
|
||||||
|
|
||||||
global user_db # pylint: disable-msg=W0603
|
|
||||||
if user_db.endswith(".sqlite3"):
|
|
||||||
user_db = os.path.splitext(user_db)[0]
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user