aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-03-28 16:13:59 -0400
committerDavid King <imkingdavid@gmail.com>2012-03-28 16:13:59 -0400
commitcb7dabbffc7ea5e2acffaa6fed96ea682f93581d (patch)
treea37c2e87c9d26f8d78d4cea0df95544e30226e79 /phpBB/index.php
parent7c3ebcc3ff16950f76f857381222070c36a76fc3 (diff)
downloadforums-cb7dabbffc7ea5e2acffaa6fed96ea682f93581d.tar
forums-cb7dabbffc7ea5e2acffaa6fed96ea682f93581d.tar.gz
forums-cb7dabbffc7ea5e2acffaa6fed96ea682f93581d.tar.bz2
forums-cb7dabbffc7ea5e2acffaa6fed96ea682f93581d.tar.xz
forums-cb7dabbffc7ea5e2acffaa6fed96ea682f93581d.zip
[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
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index d71878a885..8b73f0008f 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_interface))
+ if (!($controller instanceof phpbb_extension_controller))
{
send_status_line(500, 'Internal Server Error');
trigger_error($user->lang('EXTENSION_CLASS_WRONG_TYPE', $class));