1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers
Giteabot 22a18e6cbf
Avoid showing Failed to change the default wiki branch if repo has no wiki when saving repo settings (#30329) (#30337)
Backport #30329 by @yp05327

If repo does not have wiki, we should return after save the default wiki
branch into DB.
Or you will always see `Failed to change the default wiki branch` error.

Co-authored-by: yp05327 <576951401@qq.com>
2024-04-08 20:48:43 +08:00
..
api Clean up log messages (#30313) (#30318) 2024-04-07 11:44:09 +00:00
common Refactor URL detection (#29960) 2024-03-21 12:02:34 +00:00
install Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
private Clean up log messages (#30313) (#30318) 2024-04-07 11:44:09 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Avoid showing Failed to change the default wiki branch if repo has no wiki when saving repo settings (#30329) (#30337) 2024-04-08 20:48:43 +08:00
init.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00