mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Fixed regression from 9563f8f
Don't _reconfigure() if no deployer active
This commit is contained in:
2
e107
2
e107
Submodule e107 updated: 7ffb60c60b...e92c6789c5
Submodule lib/cpaneluapi updated: 958483cd19...c7868a07e4
@@ -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();
|
||||||
|
Reference in New Issue
Block a user