remove check for FormManager < 5
This commit is contained in:
parent
f6a9105e25
commit
fb8e3cc06a
@ -19,7 +19,6 @@ use D3\DataWizardTasks\Application\Model\Actions\FixWysiwygSpecialChars;
|
|||||||
use D3\DataWizardTasks\Application\Model\Exports\DestroyedWysiwygSpecialChars;
|
use D3\DataWizardTasks\Application\Model\Exports\DestroyedWysiwygSpecialChars;
|
||||||
use D3\DataWizardTasks\Application\Model\Exports\InactiveCategories;
|
use D3\DataWizardTasks\Application\Model\Exports\InactiveCategories;
|
||||||
use D3\DataWizardTasks\Application\Model\Exports\KeyFigures;
|
use D3\DataWizardTasks\Application\Model\Exports\KeyFigures;
|
||||||
use FormManager\Builder;
|
|
||||||
use FormManager\Factory;
|
use FormManager\Factory;
|
||||||
|
|
||||||
class Configuration extends Configuration_parent
|
class Configuration extends Configuration_parent
|
||||||
@ -32,8 +31,8 @@ class Configuration extends Configuration_parent
|
|||||||
$this->registerAction( ConfigurationParent::GROUP_CMS, oxNew( FixWysiwygSpecialChars::class));
|
$this->registerAction( ConfigurationParent::GROUP_CMS, oxNew( FixWysiwygSpecialChars::class));
|
||||||
|
|
||||||
$this->registerExport( ConfigurationParent::GROUP_CATEGORY, oxNew( InactiveCategories::class));
|
$this->registerExport( ConfigurationParent::GROUP_CATEGORY, oxNew( InactiveCategories::class));
|
||||||
// incompatible FormManager 5.x
|
// FormManager
|
||||||
if (false === class_exists(Builder::class) && class_exists(Factory::class)) {
|
if (class_exists(Factory::class)) {
|
||||||
$this->registerExport( ConfigurationParent::GROUP_SHOP, oxNew( KeyFigures::class ) );
|
$this->registerExport( ConfigurationParent::GROUP_SHOP, oxNew( KeyFigures::class ) );
|
||||||
}
|
}
|
||||||
$this->registerExport( ConfigurationParent::GROUP_CMS, oxNew( DestroyedWysiwygSpecialChars::class));
|
$this->registerExport( ConfigurationParent::GROUP_CMS, oxNew( DestroyedWysiwygSpecialChars::class));
|
||||||
|
Loading…
Reference in New Issue
Block a user