aboutsummaryrefslogtreecommitdiff
path: root/src/mm-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-context.c')
-rw-r--r--src/mm-context.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mm-context.c b/src/mm-context.c
index ddc37a33..cfabcbdb 100644
--- a/src/mm-context.c
+++ b/src/mm-context.c
@@ -48,11 +48,6 @@ filter_policy_option_arg (const gchar *option_name,
gpointer data,
GError **error)
{
- if (!g_ascii_strcasecmp (value, "legacy")) {
- filter_policy = MM_FILTER_POLICY_LEGACY;
- return TRUE;
- }
-
if (!g_ascii_strcasecmp (value, "whitelist-only")) {
filter_policy = MM_FILTER_POLICY_WHITELIST_ONLY;
return TRUE;
@@ -63,11 +58,6 @@ filter_policy_option_arg (const gchar *option_name,
return TRUE;
}
- if (!g_ascii_strcasecmp (value, "paranoid")) {
- filter_policy = MM_FILTER_POLICY_PARANOID;
- return TRUE;
- }
-
g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED,
"Invalid filter policy value given: %s",
value);
@@ -77,7 +67,7 @@ filter_policy_option_arg (const gchar *option_name,
static const GOptionEntry entries[] = {
{
"filter-policy", 0, 0, G_OPTION_ARG_CALLBACK, filter_policy_option_arg,
- "Filter policy: one of LEGACY, WHITELIST-ONLY, STRICT, PARANOID",
+ "Filter policy: one of WHITELIST-ONLY, STRICT",
"[POLICY]"
},
{