Commit 78d7632a authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Make shared_feature to be "off" by default.

parent 7d5e1727
......@@ -1688,7 +1688,7 @@ our @params = (
'If set to "on", list owners can open shared repository.',
'vhost' => '1',
'edit' => '1',
'default' => 'on', # Enalbed by historical reason.
'default' => 'off',
},
{ 'name' => 'default_shared_quota',
......
......@@ -2045,6 +2045,17 @@ sub upgrade {
}
}
# Previously shared repository could not be disabled.
if (lower_version($previous_version, '6.2.41b.2')) {
my $human_date = $language->gettext_strftime('%d %b %Y at %H:%M:%S',
localtime time);
open my $ofh, '>>', Conf::get_sympa_conf();
printf $ofh "\n\n# Upgrade from %s to %s\n# %s\nshared_feature on\n",
$previous_version, $new_version, $human_date;
close $ofh;
}
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