Verified Commit 2bf70b6b authored by dockx thibault's avatar dockx thibault
Browse files

:ambulance: Fixes typo in supannEx

Fixes typo in supannEx and introduce boolean check for Orchestrator in supann config.
Showing with 12 additions and 2 deletions
+12 -2
...@@ -153,7 +153,7 @@ class supannExtConfig extends simplePlugin ...@@ -153,7 +153,7 @@ class supannExtConfig extends simplePlugin
{ {
parent::update(); parent::update();
$this->updateFieldsChoicesAndValues(); $this->updateFieldsChoicesAndValues();
$this->attributesAccess['fdLocalPopulationCodeConf']->setValue($this->deleteLocalPopuplationCode()); $this->attributesAccess['fdLocalPopulationCodeConf']->setValue($this->deleteLocalPopulationCode());
return TRUE; return TRUE;
} }
...@@ -161,7 +161,7 @@ class supannExtConfig extends simplePlugin ...@@ -161,7 +161,7 @@ class supannExtConfig extends simplePlugin
/* /*
* Local Population Code is deleted if the parent/main code is not existing. * Local Population Code is deleted if the parent/main code is not existing.
*/ */
protected function deleteLocalPopuplationCode () : array protected function deleteLocalPopulationCode () : array
{ {
$result = []; $result = [];
foreach ($this->attributesAccess['fdMainPopulationCodeConf']->getValue() as $mCodes) { foreach ($this->attributesAccess['fdMainPopulationCodeConf']->getValue() as $mCodes) {
......
...@@ -395,6 +395,16 @@ class supannConfig extends simplePlugin ...@@ -395,6 +395,16 @@ class supannConfig extends simplePlugin
), ),
], ],
], ],
'accountLifeCycle' => [
'name' => _('Account Life Cycle'),
'attrs' => [
new BooleanAttribute(
_('Life Cycle by Orchestrator'), _('Manage the account life cycle via fusiondirectory orchestrator'),
'fdLifeCycleByOrchestrator', FALSE,
FALSE
),
],
],
]; ];
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment