[pLog-svn] r4670 - plog/branches/lifetype-1.2/class/bayesian

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Feb 2 07:37:42 EST 2007


Author: oscar
Date: 2007-02-02 07:37:42 -0500 (Fri, 02 Feb 2007)
New Revision: 4670

Removed:
   plog/branches/lifetype-1.2/class/bayesian/bayesianfilterutils.class.php
Log:
this class is not needed anymore


Deleted: plog/branches/lifetype-1.2/class/bayesian/bayesianfilterutils.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/bayesian/bayesianfilterutils.class.php	2007-02-02 12:36:57 UTC (rev 4669)
+++ plog/branches/lifetype-1.2/class/bayesian/bayesianfilterutils.class.php	2007-02-02 12:37:42 UTC (rev 4670)
@@ -1,60 +0,0 @@
-<?php
-
-	lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
-    lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
-    lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
-    lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
-
-    /**
-     * \ingroup Bayesian
-     *
-     * some commodity functions have been included here such as making the filter
-     * take all the comments from the blog and train the filter using those comments
-     * as "good" raw material and so on. These functions do not really belong to the
-     * core so I've put them here.
-     */
-    class BayesianFilterUtils extends Model
-    {
-
-    	function BayesianFilterUtils()
-        {
-        	$this->Model();
-        }
-
-        /**
-         * marks all the articles from the given blog (or all of them
-         * if blogId==0) as non-spam. This is good food for the
-         * filter since then it knows which things should be allowed.
-         *
-         * @static
-         * @param blogId The blog
-         * @return Always true
-         */
-        function markArticlesAsNonSpam( $blogId = 0 )
-        {
-            die("is this even used!?");
-        }
-
-        /**
-         * @private
-         */
-        function _getAllComments( $blogId = 0 )
-        {
-            die("is this even used!?");
-        }
-
-        /**
-         * marks all the comments from the given blog (or all of them
-         * if blogId==0) as non-spam. This is good food for the
-         * filter since then it knows which things should be allowed.
-         *
-         * @static
-         * @param blogId The blog
-         * @return Always true
-         */
-        function markCommentsAsNonSpam( $blogId = 0 )
-        {
-            die("is this even used!?");        
-        }
-    }
-?>
\ No newline at end of file



More information about the pLog-svn mailing list