[geeklog-devel] Deleting comments

Vincent Furia vfuria at gmail.com
Fri Jan 21 18:34:27 EST 2005


The only comment function that I see in lib-common.php that is used
outside the other comment functions is COM_userComments.  I'll leave a
depreciated version of that function in lib-common.php, but the other
comment functions I'm just going to move out.

By the way, I'm placing all the COM_ comment functions and the
functions in comment.php into lib-comment.php.  Right now that looks
like about 1200 or so lines of code.  All that is checked in.

Next step is to look at redoing the comment API (especially for
deletes).  The tough part of that will be keeping it backwards
compatible.

-Vinny


On Fri, 21 Jan 2005 08:00:45 +0100, Dirk Haun <dirk at haun-online.de> wrote:
> Tony,
> 
> >Dirk, actually, in the stubbed out functions I would put the require_once:
> >
> >function COM_deleteComment()
> >{
> >    require_once '/path/to/lib-comment.php';
> >    CMT_deleteComment();
> >}
> >
> >Gets around the issue of including code that probably won't be used and
> >it provides the backwards compatibility.
> 
> Makes perfect sense, thanks.
> 
> bye, Dirk
> 
> --
> http://www.haun-online.de/
> http://www.haun.info/
> 
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
>



More information about the geeklog-devel mailing list