From cb7dabbffc7ea5e2acffaa6fed96ea682f93581d Mon Sep 17 00:00:00 2001 From: David King Date: Wed, 28 Mar 2012 16:13:59 -0400 Subject: [ticket/10586] Change the interface to an abstract class This allows the common phpBB objects to be automatically accessible to extensions without the author having to globalize and assign each one himself. This is better because it also gives purpose to the phpbb_extension_controller class; instead of just being the way to ensure a handle() method is present, it also does this work for us. PHPBB3-10586 --- phpBB/includes/extension/controller_interface.php | 31 ----------------------- 1 file changed, 31 deletions(-) delete mode 100644 phpBB/includes/extension/controller_interface.php (limited to 'phpBB/includes/extension/controller_interface.php') diff --git a/phpBB/includes/extension/controller_interface.php b/phpBB/includes/extension/controller_interface.php deleted file mode 100644 index bcc8972db4..0000000000 --- a/phpBB/includes/extension/controller_interface.php +++ /dev/null @@ -1,31 +0,0 @@ - Date: Wed, 28 Mar 2012 16:21:17 -0400 Subject: [ticket/10586] Make the abstract class implement the original interface PHPBB3-10586 --- phpBB/includes/extension/controller_interface.php | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 phpBB/includes/extension/controller_interface.php (limited to 'phpBB/includes/extension/controller_interface.php') diff --git a/phpBB/includes/extension/controller_interface.php b/phpBB/includes/extension/controller_interface.php new file mode 100644 index 0000000000..bcc8972db4 --- /dev/null +++ b/phpBB/includes/extension/controller_interface.php @@ -0,0 +1,31 @@ + Date: Wed, 28 Mar 2012 16:37:42 -0400 Subject: [ticket/10586] Remove handle() from abstract class, undo change in index.php PHPBB3-10586 --- phpBB/includes/extension/controller_interface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/extension/controller_interface.php') 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 */ -- cgit v1.2.1