Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

a1012112796
Copy link
Member

@a1012112796 a1012112796 commented Oct 18, 2022

- can't get specific settings from database before
  install becaucse of no database
- should not ``db.UnsetDefaultEngine()`` in ``SubmitInstall``
  because it will be used soon.

Signed-off-by: a1012112796 <[email protected]>
ctx.RenderWithErr(ctx.Tr("install.invalid_db_setting", err), tplInstall, &form)
return
}
db.UnsetDefaultEngine()
Copy link
Member Author

@a1012112796 a1012112796 Oct 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woder why unset? is it necessary? how about move it to line 583 (before srv.Shutdown() ). thanks

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 18, 2022
@a1012112796 a1012112796 added type/bug skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Oct 18, 2022
@a1012112796 a1012112796 deleted the zzc/dev/fix_install branch October 18, 2022 11:18
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants