diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-25 06:23:32 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-25 06:23:32 +0000 |
commit | f330b62eaad55827697f10b2ed1d389a8ac0b756 (patch) | |
tree | e22f72803bdf279c451133b3fd6293b3014eea1a /emi | |
parent | 9a8ca6c1f42cf96bdac0015617d79a11561a6c55 (diff) | |
download | iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.tar iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.tar.gz iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.tar.bz2 iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.tar.xz iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.zip |
(upload_prefix_in_section) kill unused variable
Diffstat (limited to 'emi')
-rwxr-xr-x | emi | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -281,10 +281,9 @@ sub upload_prefix_in_section { my $text = join("\n", qq(The upload of the following packages failed:\n), map { "- $_" } @pkgs) . "\n"; my $rpms = join(' ', @pkgs, undef); my $to = get_author_email($user) || "Unknown <$config->{admin}>"; - my $cc; $text .= "\nUpload log available in $config->{http_queue}/rejected/$path/$prefix.youri\n"; - sendmail($to, $cc, "Upload failed for $rpms", $text, "Emi the upload bot <$config->{admin}>", 0, $config); + sendmail($to, undef, "Upload failed for $rpms", $text, "Emi the upload bot <$config->{admin}>", 0, $config); } # should delete the files |