1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02: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
3 changed files with 7 additions and 7 deletions

2
e107

Submodule e107 updated: 7ffb60c60b...e92c6789c5

View File

@@ -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();