Revert "Adding the debug bar logic in the server (#22410)" (#22478)

This reverts commit 280bc7f97e.
Этот коммит содержится в:
Jesse Hallam
2023-03-10 14:30:17 -04:00
коммит произвёл GitHub
родитель 6a9c4ad56b
Коммит ea3ff49b35
34 изменённых файлов: 54 добавлений и 16293 удалений

Просмотреть файл

@@ -92,7 +92,7 @@ func initDbCmdF(command *cobra.Command, _ []string) error {
}
defer configStore.Close()
sqlStore := sqlstore.New(configStore.Get().SqlSettings, nil, nil)
sqlStore := sqlstore.New(configStore.Get().SqlSettings, nil)
defer sqlStore.Close()
fmt.Println("Database store correctly initialised")
@@ -140,7 +140,7 @@ func migrateCmdF(command *cobra.Command, args []string) error {
}
config := cfgStore.Get()
store := sqlstore.New(config.SqlSettings, nil, nil)
store := sqlstore.New(config.SqlSettings, nil)
defer store.Close()
CommandPrettyPrintln("Database successfully migrated")
@@ -156,7 +156,7 @@ func dbVersionCmdF(command *cobra.Command, args []string) error {
}
config := cfgStore.Get()
store := sqlstore.New(config.SqlSettings, nil, nil)
store := sqlstore.New(config.SqlSettings, nil)
defer store.Close()
allFlag, _ := command.Flags().GetBool("all")