]> source.dussan.org Git - gitea.git/commit
Rename CodeIndexerEnabled to IsRepoIndexerEnabled (#30762) (#30767)
authorGiteabot <teabot@gitea.io>
Mon, 29 Apr 2024 21:57:48 +0000 (05:57 +0800)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2024 21:57:48 +0000 (21:57 +0000)
commit6edee2eca458c4d72d3e53218be1f7910f609237
tree5746c423a4fc4fa082a5697982389f0b275d101d
parent6c86034e0fe8d848891af31c8b61793e33605c36
Rename CodeIndexerEnabled to IsRepoIndexerEnabled (#30762) (#30767)

Backport #30762 by @wxiaoguang

Fix  #30761

Most places use `IsRepoIndexerEnabled` but not `CodeIndexerEnabled`, so
it should always use `IsRepoIndexerEnabled` for consistency.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
routers/web/repo/search.go
routers/web/repo/setting/setting.go
templates/repo/settings/options.tmpl
templates/shared/search/code/search.tmpl