diff options
author | David King <imkingdavid@gmail.com> | 2012-03-28 20:21:54 -0400 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-03-28 20:21:54 -0400 |
commit | caf47f8e19da9e725702fe5a6c09f10be23dd473 (patch) | |
tree | d26f69dfafe92d4f1b76442defd86403475f178b | |
parent | afc55b4c08ca891e11e2aba15dce1f9b5b7c481a (diff) | |
download | forums-caf47f8e19da9e725702fe5a6c09f10be23dd473.tar forums-caf47f8e19da9e725702fe5a6c09f10be23dd473.tar.gz forums-caf47f8e19da9e725702fe5a6c09f10be23dd473.tar.bz2 forums-caf47f8e19da9e725702fe5a6c09f10be23dd473.tar.xz forums-caf47f8e19da9e725702fe5a6c09f10be23dd473.zip |
[ticket/10586] Removed incorrect method call
PHPBB3-10586
5 files changed, 1 insertions, 11 deletions
diff --git a/tests/functional/fixtures/ext/error/class/controller.php b/tests/functional/fixtures/ext/error/class/controller.php index 99849584bc..74bbbee540 100644 --- a/tests/functional/fixtures/ext/error/class/controller.php +++ b/tests/functional/fixtures/ext/error/class/controller.php @@ -4,8 +4,6 @@ class phpbb_ext_foobar_controller extends phpbb_extension_controller { public function handle() { - $this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/error/class/'); - $this->template->set_filenames(array( 'body' => 'index_body.html' )); diff --git a/tests/functional/fixtures/ext/error/classtype/controller.php b/tests/functional/fixtures/ext/error/classtype/controller.php index 2276548b55..55ac651bdf 100644 --- a/tests/functional/fixtures/ext/error/classtype/controller.php +++ b/tests/functional/fixtures/ext/error/classtype/controller.php @@ -5,8 +5,6 @@ class phpbb_ext_error_classtype_controller public function handle() { global $template; - $template->set_ext_dir_prefix($phpbb_root_path . 'ext/error/classtype/'); - $template->set_filenames(array( 'body' => 'index_body.html' )); diff --git a/tests/functional/fixtures/ext/error/disabled/controller.php b/tests/functional/fixtures/ext/error/disabled/controller.php index ef2edda3de..57b913f377 100644 --- a/tests/functional/fixtures/ext/error/disabled/controller.php +++ b/tests/functional/fixtures/ext/error/disabled/controller.php @@ -3,9 +3,7 @@ class phpbb_ext_error_disabled_controller extends phpbb_extension_controller { public function handle() - { - $this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/error/disabled/'); - + { $this->template->set_filenames(array( 'body' => 'index_body.html' )); diff --git a/tests/functional/fixtures/ext/foo/bar/controller.php b/tests/functional/fixtures/ext/foo/bar/controller.php index 1910a4da88..3375e317b3 100644 --- a/tests/functional/fixtures/ext/foo/bar/controller.php +++ b/tests/functional/fixtures/ext/foo/bar/controller.php @@ -4,8 +4,6 @@ class phpbb_ext_foo_bar_controller extends phpbb_extension_controller { public function handle() { - $this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/foo/bar/'); - $this->template->set_filenames(array( 'body' => 'foobar_body.html' )); diff --git a/tests/functional/fixtures/ext/foobar/controller.php b/tests/functional/fixtures/ext/foobar/controller.php index 5161b28fe8..ff35f12ee0 100644 --- a/tests/functional/fixtures/ext/foobar/controller.php +++ b/tests/functional/fixtures/ext/foobar/controller.php @@ -4,8 +4,6 @@ class phpbb_ext_foobar_controller extends phpbb_extension_controller { public function handle() { - $this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/foobar/'); - $this->template->set_filenames(array( 'body' => 'foobar_body.html' )); |