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