diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2012-03-30 10:59:46 -0700 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-30 10:59:46 -0700 |
| commit | 0bd635f1b49242fc0fb6bf024e3755fc74638dc9 (patch) | |
| tree | a2b38b0c1438a320e33739b334709b22de93d4c4 /tests/functional/fixtures/ext/error/class/controller.php | |
| parent | c9b4f1211060516924c34dbb67dab25f425631cd (diff) | |
| parent | caf47f8e19da9e725702fe5a6c09f10be23dd473 (diff) | |
| download | forums-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/class/controller.php')
| -rw-r--r-- | tests/functional/fixtures/ext/error/class/controller.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/functional/fixtures/ext/error/class/controller.php b/tests/functional/fixtures/ext/error/class/controller.php index eb2ae362a6..74bbbee540 100644 --- a/tests/functional/fixtures/ext/error/class/controller.php +++ b/tests/functional/fixtures/ext/error/class/controller.php @@ -1,13 +1,10 @@ <?php -class phpbb_ext_foobar_controller implements phpbb_extension_controller_interface +class phpbb_ext_foobar_controller extends phpbb_extension_controller { public function handle() { - global $template; - $template->set_ext_dir_prefix($phpbb_root_path . 'ext/error/class/'); - - $template->set_filenames(array( + $this->template->set_filenames(array( 'body' => 'index_body.html' )); |
