diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-01-18 14:54:54 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-01-18 14:54:54 +0100 |
commit | e954b0b82b9fe873211bdd8885aefb78284f0893 (patch) | |
tree | 3d0a3a93e534f80b0753f1b693ba14f666d85ef5 /phpBB/phpbb/extension/base.php | |
parent | b90852485335455a3eda0e7193b40b1364156b27 (diff) | |
download | forums-e954b0b82b9fe873211bdd8885aefb78284f0893.tar forums-e954b0b82b9fe873211bdd8885aefb78284f0893.tar.gz forums-e954b0b82b9fe873211bdd8885aefb78284f0893.tar.bz2 forums-e954b0b82b9fe873211bdd8885aefb78284f0893.tar.xz forums-e954b0b82b9fe873211bdd8885aefb78284f0893.zip |
[ticket/13733] Use interface for migratinos
PHPBB3-13733
Diffstat (limited to 'phpBB/phpbb/extension/base.php')
-rw-r--r-- | phpBB/phpbb/extension/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/extension/base.php b/phpBB/phpbb/extension/base.php index 7eead6df1d..d2c13e8270 100644 --- a/phpBB/phpbb/extension/base.php +++ b/phpBB/phpbb/extension/base.php @@ -24,7 +24,7 @@ class base implements \phpbb\extension\extension_interface protected $container; /** @var \phpbb\finder */ - protected $finder; + protected $extension_finder; /** @var \phpbb\db\migrator */ protected $migrator; @@ -148,7 +148,7 @@ class base implements \phpbb\extension\extension_interface if (class_exists($migration)) { $reflector = new \ReflectionClass($migration); - if ($reflector->isSubclassOf('\phpbb\db\migration\migration') && $reflector->isInstantiable()) + if ($reflector->implementsInterface('\phpbb\db\migration\migration_interface') && $reflector->isInstantiable()) { continue; } |