1
0
Fork 0

Removing dead code segment.

pull/2834/head^2
Clark Stuth 2014-03-25 10:48:38 -05:00
parent a12c4e2a17
commit 8dc6a13a1c
1 changed files with 0 additions and 5 deletions

View File

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