FIx prevent the DATABASE_URI setting from being saved inside the database

This commit is contained in:
Théophile Diot 2023-07-05 15:46:10 -04:00
parent 9eec9e26c9
commit 25af02e4a4
No known key found for this signature in database
GPG key ID: E752C80DB72BB014

View file

@ -465,6 +465,8 @@ class Database:
).delete()
if config:
config.pop("DATABASE_URI", None)
if config.get("MULTISITE", "no") == "yes":
global_values = []
db_services = (