aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/bbcode.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-24 11:59:21 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-24 11:59:21 -0500
commit98b385bc1c14a3155dd429f8d9118f4d7eb95556 (patch)
treea5b88745b6e59922d9fc97bbff212d59653c06e6 /phpBB/includes/bbcode.php
parentf0516b7d2a0ac0e1fbf6832cfcfde119ad508907 (diff)
downloadforums-98b385bc1c14a3155dd429f8d9118f4d7eb95556.tar
forums-98b385bc1c14a3155dd429f8d9118f4d7eb95556.tar.gz
forums-98b385bc1c14a3155dd429f8d9118f4d7eb95556.tar.bz2
forums-98b385bc1c14a3155dd429f8d9118f4d7eb95556.tar.xz
forums-98b385bc1c14a3155dd429f8d9118f4d7eb95556.zip
[ticket/11628] Remove style resource locator
No longer used since Twig was implemented. PHPBB3-11628
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r--phpBB/includes/bbcode.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php
index fd00728510..4ce6f17d90 100644
--- a/phpBB/includes/bbcode.php
+++ b/phpBB/includes/bbcode.php
@@ -132,10 +132,9 @@ class bbcode
{
$this->template_bitfield = new bitfield($user->style['bbcode_bitfield']);
- $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);
$template = new phpbb_template_twig($phpbb_root_path, $phpEx, $config, $user, new phpbb_template_context(), $phpbb_extension_manager);
- $style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, $style_path_provider, $template);
+ $style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $style_path_provider, $template);
$style->set_style();
$template->set_filenames(array('bbcode.html' => 'bbcode.html'));
$this->template_filename = $template->get_source_file_for_handle('bbcode.html');