module Ezmlm::Mail::GpgEzmlm:

* add a wrapper around "getconfig" to restore the config file before reading
  the configuation
This commit is contained in:
lars 2008-10-11 07:09:31 +00:00
parent 5f9454f970
commit b695480291

View file

@ -475,6 +475,20 @@ getconfig() returns a hash including all available settings
=cut =cut
# call the original 'getconfig' function after restoring the "normal" config
# file (necessary only for ezmlm-idx < 0.4x)
sub getconfig {
my $self = shift;
my ($result);
&_enable_plaintext_config_file($self->thislist());
$result = $self->SUPER::getconfig();
&_enable_encryption_config_file($self->thislist());
return $result;
}
# retrieve the specific configuration of the list # retrieve the specific configuration of the list
sub getconfig_special { sub getconfig_special {
my ($self) = @_; my ($self) = @_;