diff --git a/src/lib/Hydra/Controller/Project.pm b/src/lib/Hydra/Controller/Project.pm index e6a2dba8..20b3bd3b 100644 --- a/src/lib/Hydra/Controller/Project.pm +++ b/src/lib/Hydra/Controller/Project.pm @@ -169,6 +169,8 @@ sub updateProject { , emailoverride => "" , triggertime => time }); + } else { + $project->jobsets->search({ name => ".jobsets" })->delete; } }