summaryrefslogtreecommitdiffstats
path: root/services/cron/tasks_extended.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/cron/tasks_extended.go')
-rw-r--r--services/cron/tasks_extended.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/cron/tasks_extended.go b/services/cron/tasks_extended.go
index 90b391474f..ded819a71e 100644
--- a/services/cron/tasks_extended.go
+++ b/services/cron/tasks_extended.go
@@ -118,7 +118,7 @@ func registerRemoveRandomAvatars() {
RunAtStart: false,
Schedule: "@every 72h",
}, func(ctx context.Context, _ *user_model.User, _ Config) error {
- return models.RemoveRandomAvatars(ctx)
+ return repo_service.RemoveRandomAvatars(ctx)
})
}