From 3a3661a0b3ff307e5084fa4846c6e72feb904022 Mon Sep 17 00:00:00 2001 From: Clark Stuth Date: Mon, 24 Mar 2014 09:43:45 -0500 Subject: [PATCH] removing dead code lines and excess comments --- src/Composer/Downloader/PerforceDownloader.php | 1 - src/Composer/Repository/Vcs/PerforceDriver.php | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/Composer/Downloader/PerforceDownloader.php b/src/Composer/Downloader/PerforceDownloader.php index da70c3469..c2def4ee2 100644 --- a/src/Composer/Downloader/PerforceDownloader.php +++ b/src/Composer/Downloader/PerforceDownloader.php @@ -22,7 +22,6 @@ use Composer\Util\Perforce; class PerforceDownloader extends VcsDownloader { protected $perforce; -// protected $perforceInjected = false; /** * {@inheritDoc} diff --git a/src/Composer/Repository/Vcs/PerforceDriver.php b/src/Composer/Repository/Vcs/PerforceDriver.php index 090de1bb8..9599dd964 100644 --- a/src/Composer/Repository/Vcs/PerforceDriver.php +++ b/src/Composer/Repository/Vcs/PerforceDriver.php @@ -142,12 +142,6 @@ class PerforceDriver extends VcsDriver $this->composerInfoIdentifier = $identifier; $result = false; return !empty($this->composerInfo); - - if (!empty($this->composerInfo)) { - $result = count($this->composerInfo) > 0; - } - - return $result; } /**