mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
db.get_config() get entire config and doesn't filter anymore
This commit is contained in:
parent
8b54762fc3
commit
09378458dd
1 changed files with 0 additions and 6 deletions
|
|
@ -361,16 +361,10 @@ class Database:
|
|||
if global_value is None and suffix:
|
||||
return None
|
||||
elif suffix:
|
||||
if tmp_config[f"{setting.id}_{suffix}"] == setting.default:
|
||||
return tmp_config
|
||||
|
||||
tmp_config[f"{service.id}_{setting.id}_{suffix}"] = tmp_config[
|
||||
f"{setting.id}_{suffix}"
|
||||
]
|
||||
else:
|
||||
if tmp_config[setting.id] == setting.default:
|
||||
return tmp_config
|
||||
|
||||
tmp_config[f"{service.id}_{setting.id}"] = tmp_config[setting.id]
|
||||
|
||||
return tmp_config
|
||||
|
|
|
|||
Loading…
Reference in a new issue