diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-16 15:36:40 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-16 15:36:40 +0000 |
commit | 61de440f6eea0d12c96ea7780c9ee560fd846955 (patch) | |
tree | a51493f3a92b83fda962a26ca4f2a90b93a199df /src/libstat | |
parent | 7cf83c6b4d31dfdc8e314f31c8a6c9fd9408f6ea (diff) | |
download | rspamd-61de440f6eea0d12c96ea7780c9ee560fd846955.tar.gz rspamd-61de440f6eea0d12c96ea7780c9ee560fd846955.zip |
Remove binlog and statfile_sync: never ever used.
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/classifiers/bayes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstat/classifiers/bayes.c b/src/libstat/classifiers/bayes.c index 34169697e..d2ecb340e 100644 --- a/src/libstat/classifiers/bayes.c +++ b/src/libstat/classifiers/bayes.c @@ -30,7 +30,6 @@ #include "main.h" #include "filter.h" #include "cfg_file.h" -#include "binlog.h" #include "lua/lua_common.h" #define LOCAL_PROB_DENOM 16.0 @@ -577,7 +576,6 @@ bayes_learn_spam (struct classifier_ctx * ctx, g_tree_foreach (input, bayes_learn_callback, &data); statfile_inc_revision (file); statfile_pool_unlock_file (pool, data.file); - maybe_write_binlog (ctx->cfg, st, file, input); msg_info ("increase revision for %s", st->path); cur = g_list_next (cur); |