Code Cleanup 2
This commit is contained in:
parent
2c4c83939e
commit
eea108a860
|
@ -66,16 +66,13 @@ class CopyBuild implements \PHPCI\Plugin
|
|||
|
||||
$success = $this->phpci->executeCommand($cmd, $this->directory, $build, $this->directory);
|
||||
|
||||
if ($success && ( !is_null($this->setuser) || !is_null($this->setgroup) ) !IS_WIN)
|
||||
{
|
||||
if ($success && ( !is_null($this->setuser) || !is_null($this->setgroup) ) !IS_WIN) {
|
||||
$usergroup = "";
|
||||
if (!is_null($this->setuser))
|
||||
{
|
||||
if (!is_null($this->setuser)) {
|
||||
$usergroup .= $this->setuser;
|
||||
}
|
||||
|
||||
if (!is_null($this->setgroup))
|
||||
{
|
||||
if (!is_null($this->setgroup)) {
|
||||
.= ":".$this->setgroup;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue