remove check for FormManager < 5
Dieser Commit ist enthalten in:
Ursprung
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\InactiveCategories;
|
||||
use D3\DataWizardTasks\Application\Model\Exports\KeyFigures;
|
||||
use FormManager\Builder;
|
||||
use FormManager\Factory;
|
||||
|
||||
class Configuration extends Configuration_parent
|
||||
@ -32,8 +31,8 @@ class Configuration extends Configuration_parent
|
||||
$this->registerAction( ConfigurationParent::GROUP_CMS, oxNew( FixWysiwygSpecialChars::class));
|
||||
|
||||
$this->registerExport( ConfigurationParent::GROUP_CATEGORY, oxNew( InactiveCategories::class));
|
||||
// incompatible FormManager 5.x
|
||||
if (false === class_exists(Builder::class) && class_exists(Factory::class)) {
|
||||
// FormManager
|
||||
if (class_exists(Factory::class)) {
|
||||
$this->registerExport( ConfigurationParent::GROUP_SHOP, oxNew( KeyFigures::class ) );
|
||||
}
|
||||
$this->registerExport( ConfigurationParent::GROUP_CMS, oxNew( DestroyedWysiwygSpecialChars::class));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren