chore: Remove FindReposMapByIDs

- Introduced in 8ce1b539b1 and removed in beb71f5ef6.
This commit is contained in:
Gusted 2025-01-30 12:01:51 +01:00
parent a52b610eff
commit 7481624273
No known key found for this signature in database
GPG key ID: FD821B732837125F
2 changed files with 0 additions and 6 deletions

View file

@ -66,7 +66,6 @@ code.gitea.io/gitea/models/project
code.gitea.io/gitea/models/repo
DeleteAttachmentsByIssue
FindReposMapByIDs
WatchRepoMode
code.gitea.io/gitea/models/user

View file

@ -21,11 +21,6 @@ import (
"xorm.io/builder"
)
// FindReposMapByIDs find repos as map
func FindReposMapByIDs(ctx context.Context, repoIDs []int64, res map[int64]*Repository) error {
return db.GetEngine(ctx).In("id", repoIDs).Find(&res)
}
// RepositoryListDefaultPageSize is the default number of repositories
// to load in memory when running administrative tasks on all (or almost
// all) of them.