Skip to content

Commit 1f1ae57

Browse files
authored
Move task from modules to services (#17680)
1 parent 3c3855a commit 1f1ae57

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

routers/init.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import (
2929
"code.gitea.io/gitea/modules/ssh"
3030
"code.gitea.io/gitea/modules/storage"
3131
"code.gitea.io/gitea/modules/svg"
32-
"code.gitea.io/gitea/modules/task"
3332
"code.gitea.io/gitea/modules/translation"
3433
"code.gitea.io/gitea/modules/web"
3534
apiv1 "code.gitea.io/gitea/routers/api/v1"
@@ -45,6 +44,7 @@ import (
4544
mirror_service "code.gitea.io/gitea/services/mirror"
4645
pull_service "code.gitea.io/gitea/services/pull"
4746
repo_service "code.gitea.io/gitea/services/repository"
47+
"code.gitea.io/gitea/services/task"
4848
"code.gitea.io/gitea/services/webhook"
4949

5050
"gitea.com/go-chi/session"

routers/web/repo/migrate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ import (
1717
"code.gitea.io/gitea/modules/log"
1818
"code.gitea.io/gitea/modules/setting"
1919
"code.gitea.io/gitea/modules/structs"
20-
"code.gitea.io/gitea/modules/task"
2120
"code.gitea.io/gitea/modules/util"
2221
"code.gitea.io/gitea/modules/web"
2322
"code.gitea.io/gitea/services/forms"
2423
"code.gitea.io/gitea/services/migrations"
24+
"code.gitea.io/gitea/services/task"
2525
)
2626

2727
const (
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)