1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 16:22:22 +02:00

[ticket/10586] Remove handle() from abstract class, undo change in index.php

PHPBB3-10586
This commit is contained in:
David King 2012-03-28 16:37:42 -04:00
parent 7071110d9a
commit 7b091f18a8
3 changed files with 2 additions and 9 deletions

View File

@ -74,11 +74,4 @@ abstract class phpbb_extension_controller implements phpbb_extension_controller_
$this->phpEx = $phpEx;
$this->phpbb_root_path = $phpbb_root_path;
}
/**
* Handle the request to display a page from an extension
*
* @return null
*/
abstract public function handle();
}

View File

@ -23,7 +23,7 @@ if (!defined('IN_PHPBB'))
interface phpbb_extension_controller_interface
{
/**
* handle the request to display a page from an extension
* Handle the request to display a page from an extension
*
* @return null
*/

View File

@ -47,7 +47,7 @@ if ($ext = $request->variable('ext', ''))
$controller = new $class;
if (!($controller instanceof phpbb_extension_controller))
if (!($controller instanceof phpbb_extension_controller_interface))
{
send_status_line(500, 'Internal Server Error');
trigger_error($user->lang('EXTENSION_CLASS_WRONG_TYPE', $class));