mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:38:52 +00:00
[ticket/13733] Add isInstantiable() check.
PHPBB3-13733
This commit is contained in:
parent
c485540f53
commit
9dc1729e37
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class base implements \phpbb\extension\extension_interface
|
||||||
if (class_exists($migration))
|
if (class_exists($migration))
|
||||||
{
|
{
|
||||||
$reflector = new \ReflectionClass($migration);
|
$reflector = new \ReflectionClass($migration);
|
||||||
if ($reflector->isSubclassOf('\phpbb\db\migration\migration'))
|
if ($reflector->isSubclassOf('\phpbb\db\migration\migration') && $reflector->isInstantiable())
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue