gitea/services
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues ()
Using the Go Official tool `golang.org/x/tools/cmd/deadcode@latest`
mentioned by [go blog](https://go.dev/blog/deadcode).
Just use `deadcode .` in the project root folder and it gives a list of
unused functions. Though it has some false alarms.
This PR removes dead code detected in `models/issues`.
..
actions Improve ObjectFormat interface ()
agit Adjust object format interface ()
asymkey Use db.Find instead of writing methods for every object ()
attachment
auth Deprecate query string auth tokens ()
automerge
context
convert Adjust object format interface ()
cron Update go dependencies ()
externalaccount
feed
forms Adjust object format interface ()
gitdiff Add option to disable ambiguous unicode characters detection ()
indexer Fix missing issue search index update when changing status ()
issue Remove deadcode under models/issues ()
lfs Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods ()
mailer Fix missing mail reply address ()
markup
migrations Bump google/go-github to v57 ()
mirror Adjust object format interface ()
notify
org Delete repos of org when purge delete user ()
packages Adjust object format interface ()
pull Improve ObjectFormat interface ()
release Adjust object format interface ()
repository Always enable caches ()
secrets Use db.Find instead of writing methods for every object ()
task Fix incorrect ctx usage in defer function ()
uinotification
user Use db.Find instead of writing methods for every object ()
webhook Abstract hash function usage ()
wiki Adjust object format interface ()