[pLog-svn] r2918 - plog/trunk/class/action/admin

mark at devel.lifetype.net mark at devel.lifetype.net
Tue Feb 7 09:51:13 GMT 2006


Author: mark
Date: 2006-02-07 09:51:13 +0000 (Tue, 07 Feb 2006)
New Revision: 2918

Modified:
   plog/trunk/class/action/admin/adminmarktrackbackaction.class.php
Log:
Some bug fix to make deleteTrackbacks works.

Modified: plog/trunk/class/action/admin/adminmarktrackbackaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminmarktrackbackaction.class.php	2006-02-07 09:50:13 UTC (rev 2917)
+++ plog/trunk/class/action/admin/adminmarktrackbackaction.class.php	2006-02-07 09:51:13 UTC (rev 2918)
@@ -52,7 +52,7 @@
             $articles = new Articles();
 
             // fetch the comment
-            $this->_trackback = $trackbacks->getArticleTrackback( $trackbackId, $articleId );
+            $this->_trackback = $trackbacks->getTrackBack( $trackbackId );
             if( !$this->_trackback )
             	return false;
 
@@ -89,7 +89,7 @@
 
                 // before exiting, we should get the comment and train the filter
                 // to recognize this as spam...
-                $trackback = $trackbacks->getArticleTrackback( $this->_trackbackId, $this->_articleId );
+                $trackback = $trackbacks->getTrackBack( $this->_trackbackId );
                 $bayesian = new BayesianFilterCore();
 
                 $bayesian->untrain( $this->_blogInfo->getId(),
@@ -140,7 +140,7 @@
 
                 // before exiting, we should get the comment and train the filter
                 // to recognize this as spam...
-                $trackback = $trackbacks->getArticleTrackback( $this->_trackbackId, $this->_articleId );
+                $trackback = $trackbacks->getTrackBack( $this->_trackbackId, $this->_articleId );
                 $bayesian = new BayesianFilterCore();
                 
                 $bayesian->untrain( $this->_blogInfo->getId(),



More information about the pLog-svn mailing list