aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2012-04-03 00:41:56 +0300
committerVjacheslav Trushkin <arty@phpbb.com>2012-04-03 00:41:56 +0300
commit57065095d570f0ff5976470ce81a4b216fe5f98e (patch)
treeb5d1134cd5045f9200acfca0987861c34d914e05 /phpBB/includes/functions_messenger.php
parent8363d3276522dedc55b20f63b53de116002a28eb (diff)
downloadforums-57065095d570f0ff5976470ce81a4b216fe5f98e.tar
forums-57065095d570f0ff5976470ce81a4b216fe5f98e.tar.gz
forums-57065095d570f0ff5976470ce81a4b216fe5f98e.tar.bz2
forums-57065095d570f0ff5976470ce81a4b216fe5f98e.tar.xz
forums-57065095d570f0ff5976470ce81a4b216fe5f98e.zip
[ticket/10754] Changing $style to $phpbb_style
Renaming global variable $style to $phpbb_style PHPBB3-10754
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index aae200df55..f608c95fe4 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -211,7 +211,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());
$tpl = new phpbb_style_template($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, $style_path_provider);
- $stl = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, $style_path_provider, $tpl);
+ $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;
@@ -230,7 +230,7 @@ class messenger
}
}
- $stl->set_custom_style($template_lang . '_email', array($template_path, $fallback_template_path), '');
+ $style->set_custom_style($template_lang . '_email', array($template_path, $fallback_template_path), '');
$tpl->set_filenames(array(
'body' => $template_file . '.txt',