summaryrefslogtreecommitdiffstats
path: root/modules/cron/tasks_extended.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cron/tasks_extended.go')
-rw-r--r--modules/cron/tasks_extended.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cron/tasks_extended.go b/modules/cron/tasks_extended.go
index 4a37e5d242..680f83e50c 100644
--- a/modules/cron/tasks_extended.go
+++ b/modules/cron/tasks_extended.go
@@ -33,7 +33,7 @@ func registerDeleteRepositoryArchives() {
RunAtStart: false,
Schedule: "@annually",
}, func(ctx context.Context, _ *models.User, _ Config) error {
- return models.DeleteRepositoryArchives(ctx)
+ return repo_module.DeleteRepositoryArchives(ctx)
})
}