[ticket/10586] Removed incorrect method call

PHPBB3-10586
This commit is contained in:
David King 2012-03-28 20:21:54 -04:00
parent afc55b4c08
commit caf47f8e19
5 changed files with 1 additions and 11 deletions

View file

@ -4,8 +4,6 @@ class phpbb_ext_foobar_controller extends phpbb_extension_controller
{ {
public function handle() public function handle()
{ {
$this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/error/class/');
$this->template->set_filenames(array( $this->template->set_filenames(array(
'body' => 'index_body.html' 'body' => 'index_body.html'
)); ));

View file

@ -5,8 +5,6 @@ class phpbb_ext_error_classtype_controller
public function handle() public function handle()
{ {
global $template; global $template;
$template->set_ext_dir_prefix($phpbb_root_path . 'ext/error/classtype/');
$template->set_filenames(array( $template->set_filenames(array(
'body' => 'index_body.html' 'body' => 'index_body.html'
)); ));

View file

@ -3,9 +3,7 @@
class phpbb_ext_error_disabled_controller extends phpbb_extension_controller class phpbb_ext_error_disabled_controller extends phpbb_extension_controller
{ {
public function handle() public function handle()
{ {
$this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/error/disabled/');
$this->template->set_filenames(array( $this->template->set_filenames(array(
'body' => 'index_body.html' 'body' => 'index_body.html'
)); ));

View file

@ -4,8 +4,6 @@ class phpbb_ext_foo_bar_controller extends phpbb_extension_controller
{ {
public function handle() public function handle()
{ {
$this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/foo/bar/');
$this->template->set_filenames(array( $this->template->set_filenames(array(
'body' => 'foobar_body.html' 'body' => 'foobar_body.html'
)); ));

View file

@ -4,8 +4,6 @@ class phpbb_ext_foobar_controller extends phpbb_extension_controller
{ {
public function handle() public function handle()
{ {
$this->template->set_ext_dir_prefix($this->phpbb_root_path . 'ext/foobar/');
$this->template->set_filenames(array( $this->template->set_filenames(array(
'body' => 'foobar_body.html' 'body' => 'foobar_body.html'
)); ));