diff options
author | David King <imkingdavid@gmail.com> | 2015-05-24 01:32:01 -0400 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2015-05-24 01:32:01 -0400 |
commit | 9dc1729e379691c97b319a12912dc48ad779a286 (patch) | |
tree | b805228fd2bc0aefe0224b77dd2a7a87277dc48c /phpBB/phpbb/extension | |
parent | [ticket/13733] Braces on their own lines (diff) | |
download | phpbb-9dc1729e379691c97b319a12912dc48ad779a286.tar.gz phpbb-9dc1729e379691c97b319a12912dc48ad779a286.tar.bz2 phpbb-9dc1729e379691c97b319a12912dc48ad779a286.zip |
[ticket/13733] Add isInstantiable() check.
PHPBB3-13733
Diffstat (limited to 'phpBB/phpbb/extension')
-rw-r--r-- | phpBB/phpbb/extension/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/extension/base.php b/phpBB/phpbb/extension/base.php index 5ce6983edf..40bd349c4d 100644 --- a/phpBB/phpbb/extension/base.php +++ b/phpBB/phpbb/extension/base.php @@ -152,7 +152,7 @@ class base implements \phpbb\extension\extension_interface if (class_exists($migration)) { $reflector = new \ReflectionClass($migration); - if ($reflector->isSubclassOf('\phpbb\db\migration\migration')) + if ($reflector->isSubclassOf('\phpbb\db\migration\migration') && $reflector->isInstantiable()) { continue; } |