Skip to content

Commit

Permalink
Merge pull request #126 from IchHabRecht/feature/remove-configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabRecht authored May 16, 2018
2 parents f791082 + a7b33e8 commit 12d1c51
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 24 deletions.
5 changes: 0 additions & 5 deletions Classes/Aggregate/BackendPreviewAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ public function __construct(array $maskConfiguration, BackendFluidCodeGenerator
*/
protected function process()
{
$extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['mask_export']);
if (empty($extensionConfiguration['backendPreview'])) {
return;
}

if (empty($this->maskConfiguration[$this->table]['elements'])) {
return;
}
Expand Down
5 changes: 0 additions & 5 deletions Classes/Aggregate/ContentElementIconAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ protected function process()
return;
}

$extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['mask_export']);
if (empty($extensionConfiguration['contentElementIcons'])) {
return;
}

$maskConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['mask']);
$maskIconFolder = PATH_site . $maskConfiguration['preview'];

Expand Down
6 changes: 1 addition & 5 deletions Classes/Aggregate/ExtensionConfigurationAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,10 @@ class ExtensionConfigurationAggregate extends AbstractAggregate implements PhpAw
*/
protected function process()
{
$extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['mask_export']);
$this->addExtEmconf();
$this->addComposerJson();
$this->addExtIcon();

if (!empty($extensionConfiguration['maskConfiguration'])) {
$this->addMaskConfiguration();
}
$this->addMaskConfiguration();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ abstract class AbstractExportControllerTestCase extends FunctionalTestCase
'EXT' => [
'extConf' => [
'mask' => 'a:2:{s:4:"json";s:83:"typo3conf/ext/mask_export/Tests/Functional/Fixtures/Configuration/mask-default.json";s:7:"preview";s:70:"typo3conf/ext/mask_export/Tests/Functional/Fixtures/Templates/Preview/";}',
'mask_export' => 'a:3:{s:17:"maskConfiguration";s:1:"1";s:14:"backendPreview";s:1:"1";s:19:"contentElementIcons";s:1:"1";}',
],
],
];
Expand Down
8 changes: 0 additions & 8 deletions ext_conf_template.txt

This file was deleted.

0 comments on commit 12d1c51

Please sign in to comment.