1
0
Fork 0

Removed useless code

pull/1213/head
Grégoire Pineau 2012-10-15 19:48:50 +02:00
parent 6f9c3427b6
commit 1dd04cb715
1 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@ EOT
} }
unset($candidates); unset($candidates);
$io->write('<info>Installing ' . $package->getName() . ' (' . VersionParser::formatVersion($package, false) . ')</info>', true); $io->write('<info>Installing ' . $package->getName() . ' (' . VersionParser::formatVersion($package, false) . ')</info>');
if ($disableCustomInstallers) { if ($disableCustomInstallers) {
$io->write('<info>Custom installers have been disabled.</info>'); $io->write('<info>Custom installers have been disabled.</info>');
@ -166,7 +166,7 @@ EOT
$package->getRepository()->notifyInstall($package); $package->getRepository()->notifyInstall($package);
} }
$io->write('<info>Created project in ' . $directory . '</info>', true); $io->write('<info>Created project in ' . $directory . '</info>');
chdir($directory); chdir($directory);
putenv('COMPOSER_ROOT_VERSION='.$package->getPrettyVersion()); putenv('COMPOSER_ROOT_VERSION='.$package->getPrettyVersion());
@ -203,7 +203,7 @@ EOT
try { try {
$fs->remove($finder); $fs->remove($finder);
} catch (IOException $e) { } catch (IOException $e) {
$io->write("<error>An error occured while removing the .git directory</error>", true); $io->write("<error>An error occured while removing the .git directory</error>");
} }
} }
} }