From f02138a1480015b9aa6ab5eef82506242d98612e Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 9 Nov 2019 06:21:00 +0800 Subject: Fix bug when migrate from API (#8631) * fix bug when migrate from API * fix test * fix test * improve * fix error message --- modules/task/migrate.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/task') diff --git a/modules/task/migrate.go b/modules/task/migrate.go index 5d15a506d7..247403d7be 100644 --- a/modules/task/migrate.go +++ b/modules/task/migrate.go @@ -97,8 +97,6 @@ func runMigrateTask(t *models.Task) (err error) { opts.MigrateToRepoID = t.RepoID repo, err := migrations.MigrateRepository(t.Doer, t.Owner.Name, *opts) if err == nil { - notification.NotifyMigrateRepository(t.Doer, t.Owner, repo) - log.Trace("Repository migrated [%d]: %s/%s", repo.ID, t.Owner.Name, repo.Name) return nil } -- cgit v1.2.3