aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/fixtures/ext/error/disabled
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-03-30 10:59:46 -0700
committerIgor Wiedler <igor@wiedler.ch>2012-03-30 10:59:46 -0700
commit0bd635f1b49242fc0fb6bf024e3755fc74638dc9 (patch)
treea2b38b0c1438a320e33739b334709b22de93d4c4 /tests/functional/fixtures/ext/error/disabled
parentc9b4f1211060516924c34dbb67dab25f425631cd (diff)
parentcaf47f8e19da9e725702fe5a6c09f10be23dd473 (diff)
downloadforums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.tar
forums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.tar.gz
forums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.tar.bz2
forums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.tar.xz
forums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.zip
Merge pull request #662 from imkingdavid/ticket/10586
[ticket/10586] Use an abstract class that implements the interface
Diffstat (limited to 'tests/functional/fixtures/ext/error/disabled')
-rw-r--r--tests/functional/fixtures/ext/error/disabled/controller.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/functional/fixtures/ext/error/disabled/controller.php b/tests/functional/fixtures/ext/error/disabled/controller.php
index b83a949020..57b913f377 100644
--- a/tests/functional/fixtures/ext/error/disabled/controller.php
+++ b/tests/functional/fixtures/ext/error/disabled/controller.php
@@ -1,13 +1,10 @@
<?php
-class phpbb_ext_error_disabled_controller implements phpbb_extension_controller_interface
+class phpbb_ext_error_disabled_controller extends phpbb_extension_controller
{
public function handle()
- {
- global $template;
- $template->set_ext_dir_prefix($phpbb_root_path . 'ext/error/disabled/');
-
- $template->set_filenames(array(
+ {
+ $this->template->set_filenames(array(
'body' => 'index_body.html'
));