mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
detailed_phrase_score isn't used after version 2.6
This commit is contained in:
@@ -49,10 +49,12 @@ $fold = &find("fold_headers", $conf);
|
||||
print &ui_table_row($text{'report_fold'},
|
||||
&yes_no_field("fold_headers", $fold, 1));
|
||||
|
||||
# Include details of spam phrases
|
||||
$detail = &find("detailed_phrase_score", $conf);
|
||||
print &ui_table_row($text{'report_detail'},
|
||||
&yes_no_field("detailed_phrase_score", $detail, 0));
|
||||
if (!&version_atleast(2.6)) {
|
||||
# Include details of spam phrases
|
||||
$detail = &find("detailed_phrase_score", $conf);
|
||||
print &ui_table_row($text{'report_detail'},
|
||||
&yes_no_field("detailed_phrase_score", $detail, 0));
|
||||
}
|
||||
|
||||
if (!&version_atleast(2.6)) {
|
||||
# Include stars header
|
||||
|
||||
@@ -41,7 +41,8 @@ else {
|
||||
&parse_opt($conf, "spam_level_char", \&char_check);
|
||||
}
|
||||
&parse_yes_no($conf, "fold_headers");
|
||||
&parse_yes_no($conf, "detailed_phrase_score");
|
||||
&parse_yes_no($conf, "detailed_phrase_score")
|
||||
if (defined($in{'detailed_phrase_score'}));
|
||||
&parse_yes_no($conf, "defang_mime");
|
||||
&parse_option($conf, "report_safe") if (defined($in{'report_safe'}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user