aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2012-04-03 13:23:08 +0300
committerNils Adermann <naderman@naderman.de>2012-04-19 04:21:56 +0200
commit6cecc91326135fbb36eb9d73aa25fc40cfdfb54b (patch)
treeb76600714c47f3e68f953e8cca7151b8ab307844 /phpBB/includes/functions_messenger.php
parentea3a2ef2234095e9db2d79f8c1d17bf1dfda1a23 (diff)
downloadforums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.tar
forums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.tar.gz
forums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.tar.bz2
forums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.tar.xz
forums-6cecc91326135fbb36eb9d73aa25fc40cfdfb54b.zip
[ticket/10756] Removing path provider from template class
Removing path provider from template class because it is not used by template class PHPBB3-10756
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index f608c95fe4..de14703817 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -210,8 +210,10 @@ 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());
- $tpl = new phpbb_style_template($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, $style_path_provider);
+
+ $tpl = new phpbb_style_template($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator);
$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;
$fallback_template_path = false;