module Ezmlm::Mail::GpgEzmlm:
* add a wrapper around "getconfig" to restore the config file before reading the configuation
This commit is contained in:
parent
5f9454f970
commit
b695480291
1 changed files with 14 additions and 0 deletions
|
@ -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) = @_;
|
||||||
|
|
Loading…
Reference in a new issue