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:
@@ -120,7 +120,6 @@ func CallWithDependencies(ctx *cli.Context, action func(conf *config.Config) err
|
||||
return err
|
||||
}
|
||||
|
||||
conf.RegisterDb()
|
||||
defer conf.Shutdown()
|
||||
|
||||
// Run command.
|
||||
|
||||
Reference in New Issue
Block a user