diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sa-junk-plugin/em-junk-filter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c index 8a15ce98ac..39efa2f5ac 100644 --- a/plugins/sa-junk-plugin/em-junk-filter.c +++ b/plugins/sa-junk-plugin/em-junk-filter.c @@ -753,10 +753,6 @@ em_junk_sa_report_non_junk (EPlugin *ep, EMJunkHookTarget *target) void em_junk_sa_commit_reports (EPlugin *ep) { - /* Only meaningful if we're using sa-learn */ - if (!no_allow_tell) - return; - char *sync_op = ((get_spamassassin_version () >= 3) ? "--sync": "--rebuild"); char *argv[4] = { "sa-learn", @@ -765,6 +761,10 @@ em_junk_sa_commit_reports (EPlugin *ep) NULL }; + /* Only meaningful if we're using sa-learn */ + if (!no_allow_tell) + return; + d(fprintf (stderr, "em_junk_sa_commit_reports\n")); if (em_junk_sa_is_available (NULL)) { |