1
0
Fork 0

Simplify code

pull/561/head
Jordi Boggiano 2012-04-10 13:52:53 +02:00
parent 858d967a42
commit 14c3222478
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class DownloadManager
// upgrading from a dist stable package to a dev package, force source reinstall // upgrading from a dist stable package to a dev package, force source reinstall
if ($target->isDev() && 'dist' === $installationSource) { if ($target->isDev() && 'dist' === $installationSource) {
$downloader->remove($initial, $targetDir); $downloader->remove($initial, $targetDir);
$this->download($target, $targetDir, 'source' === $installationSource); $this->download($target, $targetDir);
return; return;
} }