BUG Fix non-recipe modules being installed incorrectly

API Restore restriction on silverstripe-recipe type
This commit is contained in:
Damian Mooyman 2016-09-14 16:06:44 +12:00
parent 5f82035219
commit c211463283

View File

@ -19,10 +19,11 @@ class RecipeInstaller extends LibraryInstaller {
public function __construct(
IOInterface $io,
Composer $composer,
$type = 'silverstripe-recipe',
Filesystem $filesystem = null,
BinaryInstaller $binaryInstaller = null
) {
parent::__construct($io, $composer, null, $filesystem, $binaryInstaller);
parent::__construct($io, $composer, $type, $filesystem, $binaryInstaller);
}
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)