aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 81986f552..4bf99b98b 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -843,10 +843,6 @@ rspamd_stat_check_autolearn (struct rspamd_task *task)
}
}
- if (ret) {
- task->flags |= RSPAMD_TASK_FLAG_LEARN_AUTO;
- }
-
return ret;
}