mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-02-14 09:40:21 +00:00
CI is off by default Fixes #279
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
parent
8a74d4f52c
commit
8c0eda45c9
@ -112,7 +112,7 @@ class PullModel extends AbstractModel
|
|||||||
$params = ComponentHelper::getParams('com_patchtester');
|
$params = ComponentHelper::getParams('com_patchtester');
|
||||||
|
|
||||||
// Decide based on repository settings whether patch will be applied through Github or CIServer
|
// Decide based on repository settings whether patch will be applied through Github or CIServer
|
||||||
if ((bool) $params->get('ci_switch', 1))
|
if ((bool) $params->get('ci_switch', 0))
|
||||||
{
|
{
|
||||||
return $this->applyWithCIServer($id);
|
return $this->applyWithCIServer($id);
|
||||||
}
|
}
|
||||||
@ -796,7 +796,7 @@ class PullModel extends AbstractModel
|
|||||||
$params = ComponentHelper::getParams('com_patchtester');
|
$params = ComponentHelper::getParams('com_patchtester');
|
||||||
|
|
||||||
// Decide based on repository settings whether patch will be applied through Github or CIServer
|
// Decide based on repository settings whether patch will be applied through Github or CIServer
|
||||||
if ((bool) $params->get('ci_switch', 1))
|
if ((bool) $params->get('ci_switch', 0))
|
||||||
{
|
{
|
||||||
return $this->revertWithCIServer($id);
|
return $this->revertWithCIServer($id);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user