0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-16 22:14:39 +01:00
gitea/modules/indexer/issues/db
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
..
db.go
options.go Clean some functions about project issue (#27705) 2023-10-20 14:01:25 +02:00