zeripath 0d43a2a069 When reinitialising DBConfig reset the database use flags (#13796) (#13811)
Backport #13796

One perennial issue is users running the install page,
changing the database dialect and then suffering with issues

This PR simply resets all of the database.Use flags on
initDBConfig. This should prevent this issue from occuring.

Fix #13788
Fix #5480

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-12-03 11:13:19 +01:00
..
2020-10-10 20:38:09 -04:00
2020-04-05 07:20:50 +01:00
2020-10-02 23:37:53 -04:00
2020-10-02 23:37:53 -04:00
2020-10-14 07:49:33 +03:00
2020-10-10 20:38:09 -04:00
2020-10-14 07:06:00 +03:00
2020-08-27 22:47:17 -04:00
2020-04-05 07:20:50 +01:00