Remove redudant functions and code (#2652)
* Remove redudant functions and code
This commit is contained in:

committed by
Kim "BKC" Carlbäcker

parent
c2346e4469
commit
dff26e25ca
@ -27,9 +27,11 @@ func InitIssueIndexer() {
|
||||
func populateIssueIndexer() error {
|
||||
batch := indexer.IssueIndexerBatch()
|
||||
for page := 1; ; page++ {
|
||||
repos, _, err := Repositories(&SearchRepoOptions{
|
||||
repos, _, err := SearchRepositoryByName(&SearchRepoOptions{
|
||||
Page: page,
|
||||
PageSize: 10,
|
||||
OrderBy: SearchOrderByID,
|
||||
Private: true,
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("Repositories: %v", err)
|
||||
|
Reference in New Issue
Block a user