mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-09-19 11:49:50 +08: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.