aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-04-15 12:50:21 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-04-15 12:50:21 +0200
commitc1dedabdfb688501dceade55f6f3e96e3495e5dd (patch)
treef035f5bb270c9e2504f9469e87ed9d0fb81a362a /phpBB/includes
parentbf98122cf494d0a006dbfc37c7814aa52ce9656a (diff)
downloadforums-c1dedabdfb688501dceade55f6f3e96e3495e5dd.tar
forums-c1dedabdfb688501dceade55f6f3e96e3495e5dd.tar.gz
forums-c1dedabdfb688501dceade55f6f3e96e3495e5dd.tar.bz2
forums-c1dedabdfb688501dceade55f6f3e96e3495e5dd.tar.xz
forums-c1dedabdfb688501dceade55f6f3e96e3495e5dd.zip
[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
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/notification/method/email.php2
-rw-r--r--phpBB/includes/notification/method/messenger_base.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/notification/method/email.php b/phpBB/includes/notification/method/email.php
index dc505c0d41..44666b1422 100644
--- a/phpBB/includes/notification/method/email.php
+++ b/phpBB/includes/notification/method/email.php
@@ -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
diff --git a/phpBB/includes/notification/method/messenger_base.php b/phpBB/includes/notification/method/messenger_base.php
index ce1ecc09ce..2f9073e80b 100644
--- a/phpBB/includes/notification/method/messenger_base.php
+++ b/phpBB/includes/notification/method/messenger_base.php
@@ -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']);