diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-24 12:55:41 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-24 12:56:39 -0500 |
commit | 4b761f65758c40db4851983fa3a08d354da3323d (patch) | |
tree | 8bc46941ba86b83d190dcb4648f275138215ed85 /tests/template/template_test_case_with_tree.php | |
parent | bfbc7aa74250ea5e9e39efc63caf7cfdb9407e14 (diff) | |
download | forums-4b761f65758c40db4851983fa3a08d354da3323d.tar forums-4b761f65758c40db4851983fa3a08d354da3323d.tar.gz forums-4b761f65758c40db4851983fa3a08d354da3323d.tar.bz2 forums-4b761f65758c40db4851983fa3a08d354da3323d.tar.xz forums-4b761f65758c40db4851983fa3a08d354da3323d.zip |
[ticket/11628] Remove third parameter ($names) from set_custom_style
This was basically duplicating functionality. $names would be used if not
empty, else array($name) would be used. Merged functionality into the first
argument
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 7de719f430..1a29fd27b0 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), array(), ''); + $this->template->set_custom_style('tests', array($this->template_path, $this->parent_template_path), ''); } } |