aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/fixtures/ext/error/disabled/controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/fixtures/ext/error/disabled/controller.php')
-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'
));