diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-24 13:25:20 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-24 13:25:20 -0500 |
commit | 12c22585069066957cc3211136ebd480295d4758 (patch) | |
tree | 6358ba04f28a8368ef5806aec70825466c30e778 /tests/template/template_test_case_with_tree.php | |
parent | 863592a8bedbacf3e7bf6bee458797e819020e6f (diff) | |
download | forums-12c22585069066957cc3211136ebd480295d4758.tar forums-12c22585069066957cc3211136ebd480295d4758.tar.gz forums-12c22585069066957cc3211136ebd480295d4758.tar.bz2 forums-12c22585069066957cc3211136ebd480295d4758.tar.xz forums-12c22585069066957cc3211136ebd480295d4758.zip |
[ticket/11628] Remove template_path option on set_custom_style
This was set to default 'template/' to append template/ to all the paths,
but every location was actually just setting it to '' to not append anything.
So removed the option entirely (additional paths can be appended to the paths
being sent to the function already)
PHPBB3-11628
Diffstat (limited to 'tests/template/template_test_case_with_tree.php')
-rw-r--r-- | tests/template/template_test_case_with_tree.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template_test_case_with_tree.php b/tests/template/template_test_case_with_tree.php index 1a29fd27b0..477192c28a 100644 --- a/tests/template/template_test_case_with_tree.php +++ b/tests/template/template_test_case_with_tree.php @@ -21,6 +21,6 @@ class phpbb_template_template_test_case_with_tree extends phpbb_template_templat $this->template_path = $this->test_path . '/templates'; $this->parent_template_path = $this->test_path . '/parent_templates'; $this->template = new phpbb_template_twig($phpbb_root_path, $phpEx, $config, $user, new phpbb_template_context()); - $this->template->set_custom_style('tests', array($this->template_path, $this->parent_template_path), ''); + $this->template->set_custom_style('tests', array($this->template_path, $this->parent_template_path)); } } |