diff options
Diffstat (limited to 'phpBB/includes/ucp/ucp_resend.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_resend.php | 19 | 
1 files changed, 9 insertions, 10 deletions
diff --git a/phpBB/includes/ucp/ucp_resend.php b/phpBB/includes/ucp/ucp_resend.php index 4d181dba49..9fe8850000 100644 --- a/phpBB/includes/ucp/ucp_resend.php +++ b/phpBB/includes/ucp/ucp_resend.php @@ -1,10 +1,13 @@  <?php  /**  * -* @package ucp -* @version $Id$ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file.  *  */ @@ -19,7 +22,6 @@ if (!defined('IN_PHPBB'))  /**  * ucp_resend  * Resending activation emails -* @package ucp  */  class ucp_resend  { @@ -92,7 +94,7 @@ class ucp_resend  			if ($config['require_activation'] == USER_ACTIVATION_SELF || $coppa)  			{  				$messenger->template(($coppa) ? 'coppa_resend_inactive' : 'user_resend_inactive', $user_row['user_lang']); -				$messenger->to($user_row['user_email'], $user_row['username']); +				$messenger->set_addresses($user_row);  				$messenger->anti_abuse_headers($config, $user); @@ -127,8 +129,7 @@ class ucp_resend  				while ($row = $db->sql_fetchrow($result))  				{  					$messenger->template('admin_activate', $row['user_lang']); -					$messenger->to($row['user_email'], $row['username']); -					$messenger->im($row['user_jabber'], $row['username']); +					$messenger->set_addresses($row);  					$messenger->anti_abuse_headers($config, $user); @@ -160,5 +161,3 @@ class ucp_resend  		$this->page_title = 'UCP_RESEND';  	}  } - -?>
\ No newline at end of file  | 
