aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-06-12 13:29:57 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-06-12 13:29:57 -0500
commit38d8025f123bed57bf5b75164fc25707b4dd462d (patch)
treecc385e34ed385ed75fb4776dc21e5a8d41f44b86 /phpBB/includes/functions_messenger.php
parentfa86f45f62b52a9eed63e9be5cde9dedf8ea1d0e (diff)
downloadforums-38d8025f123bed57bf5b75164fc25707b4dd462d.tar
forums-38d8025f123bed57bf5b75164fc25707b4dd462d.tar.gz
forums-38d8025f123bed57bf5b75164fc25707b4dd462d.tar.bz2
forums-38d8025f123bed57bf5b75164fc25707b4dd462d.tar.xz
forums-38d8025f123bed57bf5b75164fc25707b4dd462d.zip
[feature/twig] Use phpbb_template_twig in tests
Replace all new phpbb_template( with new phpbb_template_twig( PHPBB3-11598
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index a646f35fdd..f0736fbb45 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -55,10 +55,10 @@ class messenger
$this->vars = $this->msg = $this->replyto = $this->from = '';
$this->mail_priority = MAIL_NORMAL_PRIORITY;
}
-
+
/**
* Set addresses for to/im as available
- *
+ *
* @param array $user User row
*/
function set_addresses($user)
@@ -228,7 +228,7 @@ class messenger
{
$style_resource_locator = new phpbb_style_resource_locator();
$style_path_provider = new phpbb_style_extension_path_provider($phpbb_extension_manager, new phpbb_style_path_provider(), $phpbb_root_path);
- $tpl = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, new phpbb_template_context(), $phpbb_extension_manager);
+ $tpl = new phpbb_template_twig($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, new phpbb_template_context(), $phpbb_extension_manager);
$style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, $style_path_provider, $tpl);
$this->tpl_msg[$template_lang . $template_file] = $tpl;