mirror of
https://github.com/e107inc/e107.git
synced 2025-06-10 13:11:48 +02:00
Fixed regression from 9563f8f
Don't _reconfigure() if no deployer active
This commit is contained in:
parent
63386970d6
commit
7553ce1857
2
e107
2
e107
@ -1 +1 @@
|
|||||||
Subproject commit 7ffb60c60b258efea1b1b69f6e49b8f02c12db18
|
Subproject commit e92c6789c51c9b653153efe555d1ded9ffbff49f
|
@ -1 +1 @@
|
|||||||
Subproject commit 958483cd19412dc3456cb48b551ee95880b3e70a
|
Subproject commit c7868a07e4d9fef5878d988501c05ee808b11e51
|
@ -38,11 +38,6 @@ abstract class Base extends \Codeception\Module
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function _callbackDeployerStarted()
|
protected function _callbackDeployerStarted()
|
||||||
{
|
|
||||||
return $this->_before();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function _before(\Codeception\TestCase $test = null)
|
|
||||||
{
|
{
|
||||||
foreach ($this->deployer_components as $component)
|
foreach ($this->deployer_components as $component)
|
||||||
{
|
{
|
||||||
@ -51,6 +46,11 @@ abstract class Base extends \Codeception\Module
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function _before(\Codeception\TestCase $test = null)
|
||||||
|
{
|
||||||
|
if (is_object($this->deployer)) $this->_callbackDeployerStarted();
|
||||||
|
}
|
||||||
|
|
||||||
protected function _reconfigure_fs()
|
protected function _reconfigure_fs()
|
||||||
{
|
{
|
||||||
$url = $this->deployer->getUrl();
|
$url = $this->deployer->getUrl();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user