1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/indexer
Nanguan Lin eb1478791f
Clean some functions about project issue (#27705)
1. remove unused function `MoveIssueAcrossProjectBoards`
2. extract the project board condition into a function
3. use db.NoCondition instead of -1. (BTW, the usage of db.NoCondition
is too confusing. Is there any way to avoid that?)
4. remove the unnecessary comment since the ctx refactor is completed.
5. Change `b.ID != 0` to `b.ID > 0`. It's more intuitive but I think
they're the same since board ID can't be negative.
2023-10-20 14:01:25 +02:00
..
code Replace assert.Fail with assert.FailNow (#27578) 2023-10-11 11:02:24 +00:00
internal
issues Clean some functions about project issue (#27705) 2023-10-20 14:01:25 +02:00
stats Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00