Browse Source

Merge pull request #6 from clarkstuth/master

Removing dead code segment.
Clark Stuth 11 years ago
parent
commit
d038276a31
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/Composer/Util/Perforce.php

+ 0 - 5
src/Composer/Util/Perforce.php

@@ -51,13 +51,8 @@ class Perforce
 
     public static function create($repoConfig, $port, $path, ProcessExecutor $process, IOInterface $io)
     {
-        if (!isset($process)) {
-            $process = new ProcessExecutor;
-        }
         $isWindows = defined('PHP_WINDOWS_VERSION_BUILD');
-
         $perforce = new Perforce($repoConfig, $port, $path, $process, $isWindows, $io);
-
         return $perforce;
     }