[pLog-svn] r2915 - plog/trunk/class/dao
Mark Wu
markplace at gmail.com
Tue Feb 7 09:40:18 GMT 2006
Hi Oscar:
I did not remove the "_fillCommentInformation", I think it shouldn't be
there, right?
Mark
> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of
> mark at devel.lifetype.net
> Sent: Tuesday, February 07, 2006 5:25 PM
> To: plog-svn at devel.lifetype.net
> Subject: [pLog-svn] r2915 - plog/trunk/class/dao
>
> Author: mark
> Date: 2006-02-07 09:24:29 +0000 (Tue, 07 Feb 2006) New Revision: 2915
>
> Modified:
> plog/trunk/class/dao/trackbacks.class.php
> Log:
> Implement a getTrackBack for get single article trackback.
>
> Modified: plog/trunk/class/dao/trackbacks.class.php
> ===================================================================
> --- plog/trunk/class/dao/trackbacks.class.php 2006-02-07
> 09:20:15 UTC (rev 2914)
> +++ plog/trunk/class/dao/trackbacks.class.php 2006-02-07
> 09:24:29 UTC (rev 2915)
> @@ -89,6 +89,14 @@
> {
> return(
> CommentsCommon::getArticleTrackBacksByIds( $artIds,
> COMMENT_TYPE_TRACKBACK ));
> }
> +
> + /**
> + * returns a single trackback, identified by
> its... identifier :)
> + */
> + function getTrackBack( $id )
> + {
> + return( CommentsCommon::getComment(
> $id, COMMENT_TYPE_TRACKBACK ));
> + }
>
> /**
> * function factored out from the above @@ -150,10 +158,6 @@
> function deleteTrackback( $trackbackId )
> {
> return( CommentsCommon::deleteComment(
> $trackbackId, COMMENT_TYPE_TRACKBACK ));
> -
> - // clear the cache
> - $this->_cache->removeData( $articleId,
> CACHE_TRACKBACKS );
> - $this->_cache->removeData( $articleId,
> CACHE_NUMTRACKBACKS );
> }
>
> /**
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
More information about the pLog-svn
mailing list