Commit c2341570 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Upgrade: During upgrade from Sympa prior to 6.2b.1, some parameters in list...

Upgrade: During upgrade from Sympa prior to 6.2b.1, some parameters in list config files may be removed.
parent 1ccbc05f
......@@ -5353,6 +5353,8 @@ sub _load_include_admin_user_postprocess {
listname => $listname,
filter => $filter,
};
delete $config_hash->{'defaults'}{'include_sympa_list'}
if $config_hash->{'defaults'};
}
delete $config_hash->{'include_list'};
delete $config_hash->{'defaults'}{'include_list'}
......
......@@ -1287,6 +1287,7 @@ sub upgrade {
if ($list->{'admin'}{'archive'}{'access'}) {
$list->{'admin'}{'archive'}{'mail_access'} =
{'name' => $list->{'admin'}{'archive'}{'access'}};
delete $list->{'admin'}{'defaults'}{'archive'};
}
delete $list->{'admin'}{'archive'}{'access'};
......@@ -1305,6 +1306,7 @@ sub upgrade {
$list->{'admin'}{'archive'}{'max_month'} =
$list->{'admin'}{'web_archive'}{'max_month'}
if $list->{'admin'}{'web_archive'}{'max_month'};
delete $list->{'admin'}{'defaults'}{'archive'};
}
delete $list->{'admin'}{'web_archive'};
......
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