1
0
Fork 0
pull/1957/head
Jordi Boggiano 2013-06-01 13:36:32 +02:00
parent 4b22d7582a
commit f0327caaa1
1 changed files with 2 additions and 4 deletions

View File

@ -214,7 +214,8 @@ EOT
return 0; return 0;
} }
protected function installRootPackage(IOInterface $io, $config, $packageName, $directory = null, $packageVersion = null, $stability = 'stable', $preferSource = false, $preferDist = false, $installDevPackages = false, $repositoryUrl = null, $disableCustomInstallers = false, $noScripts = false, $keepVcs = false, $noProgress = false) { protected function installRootPackage(IOInterface $io, $config, $packageName, $directory = null, $packageVersion = null, $stability = 'stable', $preferSource = false, $preferDist = false, $installDevPackages = false, $repositoryUrl = null, $disableCustomInstallers = false, $noScripts = false, $keepVcs = false, $noProgress = false)
{
$stability = strtolower($stability); $stability = strtolower($stability);
if ($stability === 'rc') { if ($stability === 'rc') {
$stability = 'RC'; $stability = 'RC';
@ -298,9 +299,6 @@ EOT
putenv('COMPOSER_ROOT_VERSION='.$package->getPrettyVersion()); putenv('COMPOSER_ROOT_VERSION='.$package->getPrettyVersion());
// clean up memory
unset($dm, $im, $config, $projectInstaller, $sourceRepo, $package);
return $installedFromVcs; return $installedFromVcs;
} }