mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10586] Removed incorrect method call
PHPBB3-10586
This commit is contained in:
parent
afc55b4c08
commit
caf47f8e19
5 changed files with 1 additions and 11 deletions
|
@ -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'
|
||||||
));
|
));
|
||||||
|
|
|
@ -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'
|
||||||
));
|
));
|
||||||
|
|
|
@ -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'
|
||||||
));
|
));
|
||||||
|
|
|
@ -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'
|
||||||
));
|
));
|
||||||
|
|
|
@ -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'
|
||||||
));
|
));
|
||||||
|
|
Loading…
Add table
Reference in a new issue