aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/bbcode.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-08-13 23:48:39 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-08-13 23:49:54 -0400
commit7cfd4052c5a9f7f6caabd9a1fc734d7b9e838dcd (patch)
tree61397b4f7b23aabec532426a1f84e112531f86cd /phpBB/includes/bbcode.php
parentfb8a1d999f95eddbd22c5d1e89acdb923caa4bef (diff)
downloadforums-7cfd4052c5a9f7f6caabd9a1fc734d7b9e838dcd.tar
forums-7cfd4052c5a9f7f6caabd9a1fc734d7b9e838dcd.tar.gz
forums-7cfd4052c5a9f7f6caabd9a1fc734d7b9e838dcd.tar.bz2
forums-7cfd4052c5a9f7f6caabd9a1fc734d7b9e838dcd.tar.xz
forums-7cfd4052c5a9f7f6caabd9a1fc734d7b9e838dcd.zip
[feature/template-engine] Clean up template locator usage in bbcode.
PHPBB3-9726
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r--phpBB/includes/bbcode.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php
index 482858446c..eeac98d3f3 100644
--- a/phpBB/includes/bbcode.php
+++ b/phpBB/includes/bbcode.php
@@ -136,9 +136,8 @@ class bbcode
$template_locator = new phpbb_template_locator();
$template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $template_locator);
$template->set_template();
- $locator = $template->_get_locator();
- $locator->set_filenames(array('bbcode.html' => 'bbcode.html'));
- $this->template_filename = $locator->get_source_file_for_handle('bbcode.html');
+ $template_locator->set_filenames(array('bbcode.html' => 'bbcode.html'));
+ $this->template_filename = $template_locator->get_source_file_for_handle('bbcode.html');
}
$bbcode_ids = $rowset = $sql = array();