aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2012-03-14 23:12:11 +0200
committerVjacheslav Trushkin <arty@phpbb.com>2012-03-14 23:12:11 +0200
commitb7d84a586c1e253ff7075e80ab721db5c1101c9f (patch)
tree16e0e179d9f5d0382236ac4865c56e4c7cff3cac /phpBB/includes/functions_messenger.php
parent7d414d04ca80b3dc5efc7ece4c3c28123a4e7e89 (diff)
downloadforums-b7d84a586c1e253ff7075e80ab721db5c1101c9f.tar
forums-b7d84a586c1e253ff7075e80ab721db5c1101c9f.tar.gz
forums-b7d84a586c1e253ff7075e80ab721db5c1101c9f.tar.bz2
forums-b7d84a586c1e253ff7075e80ab721db5c1101c9f.tar.xz
forums-b7d84a586c1e253ff7075e80ab721db5c1101c9f.zip
[feature/merging-style-components] Renaming template classes
Changing template classes prefixes from phpbb_template to phpbb_style (for classes that will work with styles) or phpbb_style_template (for classes that are specific to templates) PHPBB3-10632
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 f4e49b1b18..1fb5f15879 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -208,9 +208,9 @@ class messenger
// tpl_msg now holds a template object we can use to parse the template file
if (!isset($this->tpl_msg[$template_lang . $template_file]))
{
- $template_locator = new phpbb_template_locator();
- $template_path_provider = new phpbb_template_extension_path_provider($phpbb_extension_manager, new phpbb_template_path_provider());
- $this->tpl_msg[$template_lang . $template_file] = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $template_locator, $template_path_provider);
+ $template_locator = new phpbb_style_locator();
+ $template_path_provider = new phpbb_style_extension_path_provider($phpbb_extension_manager, new phpbb_style_path_provider());
+ $this->tpl_msg[$template_lang . $template_file] = new phpbb_style_template($phpbb_root_path, $phpEx, $config, $user, $template_locator, $template_path_provider);
$tpl = &$this->tpl_msg[$template_lang . $template_file];
$fallback_template_path = false;