You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/12/10 15:34:40 UTC
svn commit: r602913 -
/spamassassin/branches/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/Plugin.pm
Author: jm
Date: Mon Dec 10 06:34:39 2007
New Revision: 602913
URL: http://svn.apache.org/viewvc?rev=602913&view=rev
Log:
add note about what to do if 'learner_expire_old_training', 'learner_sync' are irrelevant
Modified:
spamassassin/branches/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/Plugin.pm
Modified: spamassassin/branches/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/Plugin.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/Plugin.pm?rev=602913&r1=602912&r2=602913&view=diff
==============================================================================
--- spamassassin/branches/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/Plugin.pm (original)
+++ spamassassin/branches/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/Plugin.pm Mon Dec 10 06:34:39 2007
@@ -886,11 +886,17 @@
Tell the classifier to 'sync' any pending changes against the current
user's training database. This is called by C<sa-learn --sync>.
+If you do not need to implement these for your classifier, create an
+implementation that just contains C<return 1>.
+
=item $plugin->learner_expire_old_training ()
Tell the classifier to perform infrequent, time-consuming cleanup of
the current user's training database. This is called by C<sa-learn
--force-expire>.
+
+If you do not need to implement these for your classifier, create an
+implementation that just contains C<return 1>.
=item $plugin->learner_is_scan_available ()