Code Cleanup 2

This commit is contained in:
Daniel 2015-10-06 12:50:15 +02:00
parent 2c4c83939e
commit eea108a860

View file

@ -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;
}