Unverified Commit b8f4dd0d authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #202 from ikedas/issue-43_phase1

Issue #43: Preliminary notice on abolishment of "host" list parameter by ikedas.
parents 27acb6d6 925bf8ea
...@@ -1727,6 +1727,21 @@ sub upgrade { ...@@ -1727,6 +1727,21 @@ sub upgrade {
); );
} }
# GH Issue #43: Preliminary notice on abolishment of "host" list parameter.
if (lower_version($previous_version, '6.2.28')) {
my $all_lists = Sympa::List::get_lists('*');
foreach my $list (@{$all_lists || []}) {
if ( $list->{'admin'}{'host'}
and $list->{'admin'}{'host'} ne $list->{'domain'}) {
$log->syslog(
'notice',
'NOTICE: %s: "host" parameter will be deprecated on Sympa 6.2.28. Please check list configuration and aliases',
$list
);
}
}
}
return 1; return 1;
} }
......
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