1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-28 08:12:42 +01:00

Fixed regression from 9563f8f

Don't _reconfigure() if no deployer active
This commit is contained in:
Deltik 2018-02-20 17:31:39 -06:00
parent 63386970d6
commit 7553ce1857
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637
3 changed files with 7 additions and 7 deletions

2
e107

@ -1 +1 @@
Subproject commit 7ffb60c60b258efea1b1b69f6e49b8f02c12db18
Subproject commit e92c6789c51c9b653153efe555d1ded9ffbff49f

@ -1 +1 @@
Subproject commit 958483cd19412dc3456cb48b551ee95880b3e70a
Subproject commit c7868a07e4d9fef5878d988501c05ee808b11e51

View File

@ -38,11 +38,6 @@ abstract class Base extends \Codeception\Module
}
protected function _callbackDeployerStarted()
{
return $this->_before();
}
public function _before(\Codeception\TestCase $test = null)
{
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()
{
$url = $this->deployer->getUrl();