Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #43: Preliminary notice on abolishment of "host" list parameter. #202

Merged
merged 1 commit into from
Feb 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/lib/Sympa/Upgrade.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down