[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:
Marc Alexander 2013-04-15 12:50:21 +02:00
parent bf98122cf4
commit c1dedabdfb
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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']);