|
From: Bart v. B. <ba...@us...> - 2002-03-14 13:08:30
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv30095
Modified Files:
privmsg.php
Log Message:
Don't send notification mails to users that are not active
Index: privmsg.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/privmsg.php,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -r1.87 -r1.88
*** privmsg.php 4 Mar 2002 01:47:14 -0000 1.87
--- privmsg.php 14 Mar 2002 13:08:26 -0000 1.88
***************
*** 1107,1111 ****
}
! if( $to_userdata['user_notify_pm'] && !empty($to_userdata['user_email']) )
{
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
--- 1107,1111 ----
}
! if( $to_userdata['user_notify_pm'] && !empty($to_userdata['user_email']) && $to_userdata['user_active'] == 1)
{
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
***************
*** 2053,2055 ****
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
--- 2053,2055 ----
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
|