[Comoblog-commit] modules/mod_comment_notify mod_comment_notify_comment_filter.php,1.6,1.7
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-16 00:57:35
|
Update of /cvsroot/comoblog/modules/mod_comment_notify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4673 Modified Files: mod_comment_notify_comment_filter.php Log Message: 1361309 - Remove legacy PEAR code Index: mod_comment_notify_comment_filter.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/mod_comment_notify_comment_filter.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- mod_comment_notify_comment_filter.php 16 Dec 2005 00:51:49 -0000 1.6 +++ mod_comment_notify_comment_filter.php 16 Dec 2005 00:57:25 -0000 1.7 @@ -1,6 +1,6 @@ <?php -#include('include/pear/Mail.php'); require_once(dirname(__FILE__).'/include/mod_comment_notify.inc.php'); + $subject ='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']); $body = "Message details " . "\n\n"; $body .='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']) ."\n"; @@ -19,11 +19,5 @@ mail($recipients, $subject, $body,$headerstring); -#$headers['From'] = CFG_COMMENT_NOTIFY_FROM; -#$headers['To'] = CFG_COMMENT_NOTIFY_TO; -#$headers['Subject'] = $subject; -#$params['sendmail_path'] = CFG_WHERE_IS_SENDMAIL; -// Create the mail object using the Mail::factory method -#$mail_object =& Mail::factory('sendmail', $params);$mail_object->send($recipients, $headers, $body); ?> |