mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-19 14:48:45 +03:00

Fix #28231, and remove some unused code. The `db.HasEngine` doesn't seem useful because the db engine is always initialized before web route.
Fix #28231, and remove some unused code. The `db.HasEngine` doesn't seem useful because the db engine is always initialized before web route.