diff options
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/models/repo.go b/models/repo.go index 2fd4df9206..e809bafa30 100644 --- a/models/repo.go +++ b/models/repo.go @@ -1112,10 +1112,6 @@ func MigrateRepositoryGitData(doer, u *User, repo *Repository, opts api.MigrateR repo, err = CleanUpMigrateInfo(repo) } - if err != nil && !repo.IsEmpty { - UpdateRepoIndexer(repo) - } - return repo, err } |