mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-09-20 23:16:36 +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.