diff pkg/imports/gmsched.go @ 1654:85386ad17d34

Scheduled imports: Don't track the user in the running scheduler. The user is stored in the database already.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 20 Dec 2018 18:39:19 +0100
parents 06f08458d666
children 51a0ba4ede41
line wrap: on
line diff
--- a/pkg/imports/gmsched.go	Thu Dec 20 18:14:28 2018 +0100
+++ b/pkg/imports/gmsched.go	Thu Dec 20 18:39:19 2018 +0100
@@ -23,7 +23,7 @@
 	scheduler.RegisterAction("gm", scheduledGM)
 }
 
-func scheduledGM(user string, id int64) {
+func scheduledGM(id int64) {
 	log.Println("info: scheduled GM import")
 	cfg, err := loadIDConfig(id)
 	if err != nil {