mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Config: Refactor initialization of settings and database connection
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -83,7 +83,6 @@ func backupAction(ctx *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
conf.RegisterDb()
|
||||
defer conf.Shutdown()
|
||||
|
||||
if backupDatabase {
|
||||
|
||||
Reference in New Issue
Block a user