]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/libravatar.cgi
Drop unused my $vars
[debbugs.git] / cgi / libravatar.cgi
index 219d65ee0c268c69bca1f5d63b8467422072fa90..33aa90a7d5b09c8a3d8296e77dbd93bf336983d0 100755 (executable)
@@ -6,7 +6,6 @@ use strict;
 use Debbugs::Config qw(:config);
 use Debbugs::CGI qw(cgi_parameters);
 use Debbugs::Common;
-use Digest::MD5 qw(md5_hex);
 use File::LibMagic;
 use Debbugs::Libravatar qw(:libravatar);
 
@@ -30,8 +29,6 @@ if ($param{avatar} ne 'yes' or not defined $param{email} or not length $param{em
     exit 0;
 }
 
-# figure out what the md5sum of the e-mail is.
-my $email_md5sum = md5_hex(lc($param{email}));
 my ($cache_location, $is_valid) = cache_location(email => lc($param{email}));
 # if we've got it, and it's less than one hour old, return it.
 if ($is_valid) {