Removing dead code segment.
parent
a12c4e2a17
commit
8dc6a13a1c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue