aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/extension/controller.php7
-rw-r--r--phpBB/includes/extension/controller_interface.php2
-rw-r--r--phpBB/index.php2
3 files changed, 2 insertions, 9 deletions
diff --git a/phpBB/includes/extension/controller.php b/phpBB/includes/extension/controller.php
index 6e47948156..8861ec2696 100644
--- a/phpBB/includes/extension/controller.php
+++ b/phpBB/includes/extension/controller.php
@@ -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();
}
diff --git a/phpBB/includes/extension/controller_interface.php b/phpBB/includes/extension/controller_interface.php
index bcc8972db4..2b88925388 100644
--- a/phpBB/includes/extension/controller_interface.php
+++ b/phpBB/includes/extension/controller_interface.php
@@ -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
*/
diff --git a/phpBB/index.php b/phpBB/index.php
index 8b73f0008f..d71878a885 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -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));