Commit 939de2b4 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Remove code for global parameters `log_module` and `log_condition` which were...

Remove code for global parameters `log_module` and `log_condition` which were applied only to Sympa::Scenario module.
parent 66680ad4
......@@ -1890,23 +1890,6 @@ sub _infer_server_specific_parameter_values {
$param->{'config_hash'}{'blacklist'}{$action} = 1;
}
foreach my $log_module (
split(/,/, $param->{'config_hash'}{'log_module'} || '')) {
$param->{'config_hash'}{'loging_for_module'}{$log_module} = 1;
}
foreach my $log_condition (
split(/,/, $param->{'config_hash'}{'log_condition'} || '')) {
chomp $log_condition;
if ($log_condition =~ /^\s*(ip|email)\s*\=\s*(.*)\s*$/i) {
$param->{'config_hash'}{'loging_condition'}{$1} = $2;
} else {
$log->syslog('err',
'Unrecognized log_condition token %s; ignored',
$log_condition);
}
}
if ($param->{'config_hash'}{'ldap_export_name'}) {
$param->{'config_hash'}{'ldap_export'} = {
$param->{'config_hash'}{'ldap_export_name'} => {
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment