33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2025-02-11 07:58:25 +00:00

CI is off by default Fixes #279

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
Roland Dalmulder 2020-05-11 14:18:00 +02:00
parent 8a74d4f52c
commit 8c0eda45c9
No known key found for this signature in database
GPG Key ID: FD49814C56AE3AF9

View File

@ -112,7 +112,7 @@ class PullModel extends AbstractModel
$params = ComponentHelper::getParams('com_patchtester');
// 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);
}
@ -796,7 +796,7 @@ class PullModel extends AbstractModel
$params = ComponentHelper::getParams('com_patchtester');
// 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);
}