mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
[ticket/13733] Add isInstantiable() check.
PHPBB3-13733
This commit is contained in:
parent
c485540f53
commit
9dc1729e37
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user