Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions lib/Service/ArchiMateService.php
Original file line number Diff line number Diff line change
Expand Up @@ -1694,36 +1694,6 @@ public function getAmefConfig(): array
}//end try
}//end getAmefConfig()

/**
* Get Voorzieningen configuration directly from IAppConfig
*
* @return array The voorzieningen configuration
*/
private function getVoorzieningenConfig(): array
{
$config = $this->config->getValueString('softwarecatalog', 'voorzieningen_config', '{}');
$decoded = json_decode($config, true);

if (is_array($decoded) === false) {
// Fallback to individual config values for backward compatibility.
$decoded = [
'register' => $this->config->getValueString('softwarecatalog', 'voorzieningen_register', ''),
'organisatie_schema' => $this->config->getValueString(
'softwarecatalog',
'voorzieningen_organisatie_schema',
''
),
'contactpersoon_schema' => $this->config->getValueString(
'softwarecatalog',
'voorzieningen_contactpersoon_schema',
''
),
];
}

return $decoded;
}//end getVoorzieningenConfig()

/**
* Get the current status of ArchiMate operations
*
Expand Down
Loading