mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12963] Revert back to "migrations" folder name for extensions
The issues that can be created with the name change are just too much PHPBB3-12963
This commit is contained in:
@@ -132,20 +132,11 @@ class base implements \phpbb\extension\extension_interface
|
||||
|
||||
// Only have the finder search in this extension path directory
|
||||
$migrations = $this->extension_finder
|
||||
->extension_directory('/migration')
|
||||
->extension_directory('/migrations')
|
||||
->find_from_extension($this->extension_name, $this->extension_path);
|
||||
|
||||
$migrations = $this->extension_finder->get_classes_from_files($migrations);
|
||||
|
||||
// @deprecated 3.1.0-RC4 (To be removed: 3.2.0)
|
||||
$migrations_deprecated = $this->extension_finder
|
||||
->extension_directory('/migrations')
|
||||
->find_from_extension($this->extension_name, $this->extension_path);
|
||||
|
||||
$migrations_deprecated = $this->extension_finder->get_classes_from_files($migrations_deprecated);
|
||||
|
||||
$migrations = array_merge($migrations, $migrations_deprecated);
|
||||
|
||||
return $migrations;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user