[pLog-svn] r3118 - plog/trunk/class/dao
Jon Daley
plogworld at jon.limedaley.com
Fri Mar 24 18:53:47 GMT 2006
I attempted to make trackbacks delete successfully, but I failed.
I am not sure what is going on. My fix to articles.class.php was incorrect, it
just looked like it worked, but my fix also causes a crash.
Probably both the $comments and $articles should be changed to
$articleComments, but I never could get trackbacks to delete successfully, and
I am not sure how it is all supposed to work.
e.g. should trackbacks use trackbacks.class.php any more?
On Fri, 24 Mar 2006 16:52:42 +0000 (GMT), jondaley at devel.lifetype.net wrote:
> Author: jondaley
> Date: 2006-03-24 16:52:41 +0000 (Fri, 24 Mar 2006)
> New Revision: 3118
>
> Modified:
> plog/trunk/class/dao/articles.class.php
> Log:
> trackbacks are associated with articles, not comments
>
> Modified: plog/trunk/class/dao/articles.class.php
> ===================================================================
> --- plog/trunk/class/dao/articles.class.php 2006-03-24 04:41:05 UTC (rev
> 3117)
> +++ plog/trunk/class/dao/articles.class.php 2006-03-24 16:52:41 UTC (rev
> 3118)
> @@ -1047,7 +1047,7 @@
>
> // -- trackbacks --
> foreach( $article->getTrackbacks() as $trackback )
> - $comments->deleteTrackback( $artId,
> $trackback->getId());
> + $articles->deleteTrackback( $artId,
> $trackback->getId());
>
> // -- post-to-categories mappings --
> $this->deletePostCategoriesLink( $article );
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
--
Jon Daley
http://jon.limedaley.com/
More information about the pLog-svn
mailing list