mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/10586] Removed incorrect method call
PHPBB3-10586
This commit is contained in:
@@ -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'
|
||||||
));
|
));
|
||||||
|
Reference in New Issue
Block a user