aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/controller.c b/src/controller.c
index a79159c69..f3cdc74de 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -849,9 +849,6 @@ controller_read_socket (f_str_t * in, void *arg)
session->worker->srv->stat->messages_learned++;
maybe_write_binlog (session->learn_classifier, st, statfile, tokens);
- if (st->normalizer != NULL) {
- sum = st->normalizer (session->cfg, sum, st->normalizer_data);
- }
msg_info ("learn success for message <%s>, for statfile: %s, sum weight: %.2f",
task->message_id, session->learn_symbol, sum);
free_task (task, FALSE);