mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/11488] Use correct base class in email notification method
In ticket/11451 this was not correctly changed to reflect the new class phpbb_notifcation_method_messenger_base. Additionally, an undefined variable error has been fixed in messenger_base.php (change should be confirmed by bantu though). PHPBB3-11488
This commit is contained in:
parent
bf98122cf4
commit
c1dedabdfb
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ if (!defined('IN_PHPBB'))
|
|||
*
|
||||
* @package notifications
|
||||
*/
|
||||
class phpbb_notification_method_email extends phpbb_notification_method_base
|
||||
class phpbb_notification_method_email extends phpbb_notification_method_messenger_base
|
||||
{
|
||||
/**
|
||||
* Get notification method name
|
||||
|
|
|
@ -78,7 +78,7 @@ abstract class phpbb_notification_method_messenger_base extends phpbb_notificati
|
|||
continue;
|
||||
}
|
||||
|
||||
$messenger->template($email_template_base_dir . $notification->get_email_template(), $user['user_lang']);
|
||||
$messenger->template($template_dir_prefix . $notification->get_email_template(), $user['user_lang']);
|
||||
|
||||
$messenger->to($user['user_email'], $user['username']);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue