From 14c32224787e6d6bf63bbcc7f9279feded4c5b57 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 10 Apr 2012 13:52:53 +0200 Subject: [PATCH] Simplify code --- src/Composer/Downloader/DownloadManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Downloader/DownloadManager.php b/src/Composer/Downloader/DownloadManager.php index 96daa0caf..c2082350a 100644 --- a/src/Composer/Downloader/DownloadManager.php +++ b/src/Composer/Downloader/DownloadManager.php @@ -167,7 +167,7 @@ class DownloadManager // upgrading from a dist stable package to a dev package, force source reinstall if ($target->isDev() && 'dist' === $installationSource) { $downloader->remove($initial, $targetDir); - $this->download($target, $targetDir, 'source' === $installationSource); + $this->download($target, $targetDir); return; }