From 1bb2d54aede40f8d702e08b2513fee5aa619629b Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 16 Mar 2013 10:18:41 -0700 Subject: [PATCH] handle exporting libravatar uri options --- Debbugs/Config.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Debbugs/Config.pm b/Debbugs/Config.pm index 3a6e7cf..c7007a7 100644 --- a/Debbugs/Config.pm +++ b/Debbugs/Config.pm @@ -78,10 +78,11 @@ BEGIN { ], text => [qw($gBadEmailPrefix $gHTMLTail $gHTMLExpireNote), ], + cgi => [qw($gLibravatarUri $gLibravatarUriOptions)], config => [qw(%config)], ); @EXPORT_OK = (); - Exporter::export_ok_tags(qw(globals text config)); + Exporter::export_ok_tags(keys %EXPORT_TAGS); $EXPORT_TAGS{all} = [@EXPORT_OK]; $ENV{HOME} = '' if not defined $ENV{HOME}; } @@ -368,7 +369,7 @@ set_default(\%config,'bug_subscription_domain',$config{list_domain}); =over -=item libravatar_uri +=item libravatar_uri $gLibravatarUri URI to a libravatar configuration. If empty or undefined, libravatar support will be disabled. Defaults to @@ -379,7 +380,7 @@ and falls back to gravatar if necessary. set_default(\%config,'libravatar_uri',"http://cdn.libravatar.org/avatar/"); -=item libravatar_uri_options +=item libravatar_uri_options $gLibravatarUriOptions Options to append to the md5_hex of the e-mail. This sets the default avatar used when an avatar isn't available. Currently defaults to -- 2.39.2