[geeklog-cvs] geeklog-1.3/system lib-comment.php,1.6,1.7
vinny at iowaoutdoors.org
vinny at iowaoutdoors.org
Fri Jan 28 08:12:10 EST 2005
Update of /var/cvs/geeklog-1.3/system
In directory www:/tmp/cvs-serv23684/system
Modified Files:
lib-comment.php
Log Message:
PLG_commentPreSave was missing from CMT_saveComment
Index: lib-comment.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/lib-comment.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** lib-comment.php 28 Jan 2005 04:49:10 -0000 1.6
--- lib-comment.php 28 Jan 2005 13:12:06 -0000 1.7
***************
*** 765,768 ****
--- 765,772 ----
exit;
}
+ // Let plugins have a chance to decide what to do before saving the comment, return errors.
+ if ($someError = PLG_commentPreSave($uid, $title, $comment, $sid, $pid, $type, $postmode)) {
+ return $someError;
+ }
// Clean 'em up a bit!
More information about the geeklog-cvs
mailing list